Skip to content

Commit

Permalink
spec 0.2 draft
Browse files Browse the repository at this point in the history
  • Loading branch information
Gil Mizrahi committed Aug 13, 2024
1 parent f5db94a commit 609bbbf
Show file tree
Hide file tree
Showing 4 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,8 +24,8 @@ rustls = ["reqwest/rustls"]
ndc-test = ["dep:ndc-test"]

[dependencies]
ndc-models = { git = "http://github.com/hasura/ndc-spec.git", rev = "a8b883f95b1f5216467f83a7d4201791e2a474ff" }
ndc-test = { git = "http://github.com/hasura/ndc-spec.git", rev = "a8b883f95b1f5216467f83a7d4201791e2a474ff", optional = true }
ndc-models = { git = "http://github.com/hasura/ndc-spec.git", rev = "2893acd5de273667e84f9f87a25901615b368593" }
ndc-test = { git = "http://github.com/hasura/ndc-spec.git", rev = "2893acd5de273667e84f9f87a25901615b368593", optional = true }

async-trait = "0.1.79"
axum = { version = "0.6.20", features = ["http2"] }
Expand Down
5 changes: 4 additions & 1 deletion crates/sdk/src/connector/example.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,12 @@ impl Connector for Example {
variables: None,
aggregates: None,
exists: models::ExistsCapabilities {
nested_collections: None,
named_scopes: None,
unrelated: None,
},
explain: None,
nested_fields: models::NestedFieldCapabilities {
nested_collections: None,
filter_by: None,
order_by: None,
aggregates: None,
Expand Down Expand Up @@ -76,6 +78,7 @@ impl Connector for Example {
procedures: vec![],
object_types: BTreeMap::new(),
scalar_types: BTreeMap::new(),
capabilities: None,
}
.into())
}
Expand Down

0 comments on commit 609bbbf

Please sign in to comment.