Skip to content

Commit

Permalink
Merge pull request #10 from hasura:print-schema-command
Browse files Browse the repository at this point in the history
implement printSchemaAndCapabilities
  • Loading branch information
BenoitRanque authored Sep 27, 2024
2 parents 927c347 + 46b3a35 commit 6296807
Show file tree
Hide file tree
Showing 37 changed files with 1,105 additions and 923 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/deploy-stage.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Deploy connector to dockerhub, release cli on github
on:
pull_request:
branches:
- main
push:
branches:
- main
Expand Down Expand Up @@ -41,7 +44,7 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
push: true
push: ${{ startsWith(github.ref, 'refs/tags/v') }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.2.0]

- Implement foreach capability. Instead of producing multiple parallel requests, we produce a single, larger request to send to the target endpoint.
- Fix bug where introspection including interfaces would fail to parse in some circumstances
- Config now defaults to asking for a `GRAPHQL_ENDPOINT` env var
- Fix a bug where default values were not parsed as graphql values, and instead used as string literals
- CLI: Implement `print-schema-and-capabilities` command, allowing local dev to update config & schema without starting a connector instance
- Update to latest connector SDK version (0.4.0)

## [0.1.3]

Expand Down
45 changes: 35 additions & 10 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 @@ -2,7 +2,7 @@
members = ["crates/ndc-graphql", "crates/ndc-graphql-cli", "crates/common"]
resolver = "2"

package.version = "0.1.3"
package.version = "0.2.0"
package.edition = "2021"

# insta performs better in release mode
Expand Down
Loading

0 comments on commit 6296807

Please sign in to comment.