Skip to content
1 change: 1 addition & 0 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ dependencies = [
"encoding_rs",
"form_urlencoded",
"hashbrown 0.16.1",
"heck",
"hex",
"http 1.4.0",
"indexmap 2.13.0",
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ apollo-parser = "0.8.4"
apollo-smith = "0.15.2"
async-trait = "0.1.77"
encoding_rs = "0.8"
heck = "0.5.0"
hex = { version = "0.4.3", features = ["serde"] }
http = "1.1.0"
insta = { version = "1.38.0", features = [
Expand Down
1 change: 1 addition & 0 deletions apollo-federation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ derive_more = { version = "2.0.0", features = [
encoding_rs.workspace = true
http.workspace = true
hashbrown = "0.16.0"
heck.workspace = true
indexmap = { version = "2.2.6", features = ["serde"] }
itertools = "0.14.0"
line-col = "0.2.1"
Expand Down
4 changes: 4 additions & 0 deletions apollo-federation/src/connectors/json_selection/methods.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ pub(super) enum ArrowMethod {
Mul,
Div,
Mod,
PropertiesToCamelCase,

// Future methods:
TypeOf,
Expand Down Expand Up @@ -174,6 +175,7 @@ impl std::ops::Deref for ArrowMethod {
Self::Mul => &public::MulMethod,
Self::Div => &public::DivMethod,
Self::Mod => &public::ModMethod,
Self::PropertiesToCamelCase => &public::PropertiesToCamelCaseMethod,

// Future methods:
Self::TypeOf => &future::TypeOfMethod,
Expand Down Expand Up @@ -231,6 +233,7 @@ impl ArrowMethod {
"contains" => Some(Self::Contains),
"toString" => Some(Self::ToString),
"parseInt" => Some(Self::ParseInt),
"propertiesToCamelCase" => Some(Self::PropertiesToCamelCase),
_ => None,
};

Expand Down Expand Up @@ -278,6 +281,7 @@ impl ArrowMethod {
| Self::Mul
| Self::Div
| Self::Mod
| Self::PropertiesToCamelCase
)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ mod to_string;
pub(crate) use to_string::ToStringMethod;
mod parse_int;
pub(crate) use parse_int::ParseIntMethod;
mod properties_to_camel_case;
pub(crate) use properties_to_camel_case::PropertiesToCamelCaseMethod;
mod contains;
pub(crate) use contains::ContainsMethod;
mod arithmetic;
Expand Down
Loading
Loading