Skip to content

Commit

Permalink
Update to ndc-spec v0.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
dmoverton committed Jul 9, 2024
1 parent ef4f75b commit df86c44
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 8 deletions.
31 changes: 27 additions & 4 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", rev = "002923d5c337930b9c9007f05c768fe9a0575612"}
ndc-test = { git = "http://github.com/hasura/ndc-spec.git", rev = "002923d5c337930b9c9007f05c768fe9a0575612", optional = true }
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"] }
Expand Down
3 changes: 1 addition & 2 deletions crates/sdk/src/connector/example.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,7 @@ mod tests {
assert_eq!(response.status(), StatusCode::OK);

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

0 comments on commit df86c44

Please sign in to comment.