Skip to content

Commit

Permalink
Bump to v0.1.4.
Browse files Browse the repository at this point in the history
It works! I think.
  • Loading branch information
SamirTalwar committed Jun 12, 2024
1 parent 63b6ee4 commit 80a2ef3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 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 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", branch = "samirtalwar/bump" }
ndc-test = { git = "http://github.com/hasura/ndc-spec.git", branch = "samirtalwar/bump", optional = true }
ndc-models = { git = "http://github.com/hasura/ndc-spec.git", tag = "v0.1.4" }
ndc-test = { git = "http://github.com/hasura/ndc-spec.git", tag = "v0.1.4", optional = true }

async-trait = "0.1.79"
axum = { version = "0.6.20", features = ["http2"] }
Expand Down
4 changes: 3 additions & 1 deletion crates/sdk/src/connector/example.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ impl Connector for Example {
nested_fields: models::NestedFieldCapabilities {
filter_by: None,
order_by: None,
aggregates: None,
},
},
mutation: models::MutationCapabilities {
Expand Down Expand Up @@ -145,7 +146,8 @@ mod tests {
assert_eq!(response.status(), StatusCode::OK);

let body: ndc_models::CapabilitiesResponse = response.json().await;
assert_eq!(body.version, ndc_models::VERSION);
// ideally we would get this version from `ndc_models::VERSION`
assert_eq!(body.version, "0.1.4");
Ok(())
}
}

0 comments on commit 80a2ef3

Please sign in to comment.