Skip to content

Commit

Permalink
Merge pull request #29 from hasura:improve-dx
Browse files Browse the repository at this point in the history
Implement printSchemaAndCapabilities, fix scalar type dependencies in schema response
  • Loading branch information
BenoitRanque authored Oct 5, 2024
2 parents 1ca640a + 365bd92 commit 1e77b66
Show file tree
Hide file tree
Showing 21 changed files with 865 additions and 557 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.0.4] - 2024-10-05

- Implement PrintSchemaAndCapabilities command. Enables the ddn CLI to perform introspection without needing to start an instance of the connector, which makes introspection faster. Note the DDN CLI does not yet implement this.
- Bug fix: scalar aggregates may return other scalars, creating dependencies. Fix schema response not including those scalar type dependencies

## [1.0.3]

- Update SDK version to enable unauthorized access to health endpoint
Expand Down
17 changes: 10 additions & 7 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
Expand Up @@ -6,7 +6,7 @@ members = [
]
resolver = "2"

package.version = "1.0.3"
package.version = "1.0.4"
package.edition = "2021"

# insta performs better in release mode
Expand Down
1 change: 1 addition & 0 deletions ci/templates/connector-metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ supportedEnvironmentVariables:
required: true
commands:
update: hasura-clickhouse update
printSchemaAndCapabilities: hasura-clickhouse print-schema-and-capabilities
cliPlugin:
name: clickhouse
version: "${CLI_VERSION}"
Expand Down
2 changes: 2 additions & 0 deletions crates/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ schemars = "0.8.16"
serde = { version = "1.0.197", features = ["derive"] }
serde_json = "1.0.114"
strum = { version = "0.26.3", features = ["derive"] }
thiserror = "1.0.64"
tokio = "1.36.0"
tracing = "0.1.40"

[dev-dependencies]
Expand Down
Loading

0 comments on commit 1e77b66

Please sign in to comment.