Skip to content

Commit

Permalink
update ndc-spec to v0.1.6 (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gil Mizrahi authored Aug 20, 2024
1 parent 2355719 commit 665509f
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
10 changes: 5 additions & 5 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[workspace]
resolver = "2"

package.version = "0.2.1"
package.version = "0.4.0"
package.edition = "2021"
package.license = "Apache-2.0"

Expand Down
4 changes: 2 additions & 2 deletions crates/sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ rustls = ["reqwest/rustls"]
ndc-test = ["dep:ndc-test"]

[dependencies]
ndc-models = { git = "http://github.com/hasura/ndc-spec.git", tag = "v0.1.5" }
ndc-test = { git = "http://github.com/hasura/ndc-spec.git", tag = "v0.1.5", optional = true }

async-trait = "0.1.79"
axum = { version = "0.6.20", features = ["http2"] }
axum-extra = "0.8.0"
bytes = "1.6.0"
clap = { version = "4.5.4", features = ["derive", "env"] }
http = "0.2"
ndc-models = { git = "http://github.com/hasura/ndc-spec.git", tag = "v0.1.6" }
ndc-test = { git = "http://github.com/hasura/ndc-spec.git", tag = "v0.1.6", optional = true }
mime = "0.3.17"
opentelemetry = "0.22.0"
opentelemetry-http = "0.11.0"
Expand Down
3 changes: 3 additions & 0 deletions crates/sdk/src/connector/example.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ impl Connector for Example {
order_by: None,
aggregates: None,
},
exists: models::ExistsCapabilities {
nested_collections: None,
},
},
mutation: models::MutationCapabilities {
transactional: None,
Expand Down
2 changes: 1 addition & 1 deletion crates/sdk/src/default_main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ mod ndc_test_commands {
super::get_capabilities::<C>()
.await
.into_value::<Box<dyn std::error::Error + Send + Sync>>()
.map_err(|e| ndc_test::error::Error::OtherError(e))
.map_err(ndc_test::error::Error::OtherError)
}

async fn get_schema(&self) -> Result<ndc_models::SchemaResponse, ndc_test::error::Error> {
Expand Down

0 comments on commit 665509f

Please sign in to comment.