Skip to content

Commit

Permalink
update ndc-spec to rc.11
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinav-hasura committed Nov 15, 2023
1 parent 3c1ffbf commit b9a8cab
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions rust-connector-sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ path = "bin/main.rs"

[dependencies]
gdc_rust_types = { git = "https://github.com/hasura/gdc_rust_types.git", rev = "3273434" }
ndc-client = { git = "http://github.com/hasura/ndc-spec.git", tag = "v0.1.0-rc.10" }
ndc-test = { git = "http://github.com/hasura/ndc-spec.git", tag = "v0.1.0-rc.10" }
ndc-client = { git = "http://github.com/hasura/ndc-spec.git", tag = "v0.1.0-rc.11" }
ndc-test = { git = "http://github.com/hasura/ndc-spec.git", tag = "v0.1.0-rc.11" }

async-trait = "^0.1.74"
axum = "^0.6.20"
Expand Down
9 changes: 4 additions & 5 deletions rust-connector-sdk/src/connector/example.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,10 @@ impl Connector for Example {
capabilities: models::Capabilities {
explain: None,
relationships: None,
query: Some(models::QueryCapabilities {
foreach: None,
order_by_aggregate: None,
relation_comparisons: None,
}),
query: models::QueryCapabilities {
variables: None,
aggregates: None,
},
},
}
.into()
Expand Down
2 changes: 1 addition & 1 deletion rust-connector-sdk/src/default_main/v2_compat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ pub async fn get_capabilities<C: Connector>(
subquery: Some(SubqueryComparisonCapabilities {
supports_relations: v3_capabilities
.capabilities
.query
.relationships
.as_ref()
.map(|capabilities| capabilities.relation_comparisons.is_some()),
}),
Expand Down

0 comments on commit b9a8cab

Please sign in to comment.