Skip to content

Commit

Permalink
Bump ndc-spec v0.1.5 (#132) (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
hgiasac authored Jul 9, 2024
1 parent 9b0a890 commit 53706fb
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ All functions of the Connector interface are analogous to their Rust counterpart

## Features

The SDK fully supports [NDC Specification v0.1.4](https://hasura.github.io/ndc-spec/specification/changelog.html#014) and [Connector Deployment spec](https://github.com/hasura/ndc-hub/blob/main/rfcs/0000-deployment.md) with following features:
The SDK fully supports [NDC Specification v0.1.5](https://hasura.github.io/ndc-spec/specification/changelog.html#015) and [Connector Deployment spec](https://github.com/hasura/ndc-hub/blob/main/rfcs/0000-deployment.md) with following features:

- Connector HTTP server
- Authentication
Expand Down
2 changes: 1 addition & 1 deletion cmd/hasura-ndc-go/templates/new/connector.go.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

var connectorCapabilities = schema.CapabilitiesResponse{
Version: "0.1.4",
Version: "0.1.5",
Capabilities: schema.Capabilities{
Query: schema.QueryCapabilities{
Variables: schema.LeafCapability{},
Expand Down
2 changes: 1 addition & 1 deletion cmd/hasura-ndc-go/testdata/basic/source/connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

var connectorCapabilities = schema.CapabilitiesResponse{
Version: "0.1.4",
Version: "0.1.5",
Capabilities: schema.Capabilities{
Query: schema.QueryCapabilities{
Variables: schema.LeafCapability{},
Expand Down
2 changes: 1 addition & 1 deletion cmd/hasura-ndc-go/testdata/empty/source/connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

var connectorCapabilities = schema.CapabilitiesResponse{
Version: "0.1.4",
Version: "0.1.5",
Capabilities: schema.Capabilities{
Query: schema.QueryCapabilities{
Variables: schema.LeafCapability{},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

var connectorCapabilities = schema.CapabilitiesResponse{
Version: "0.1.4",
Version: "0.1.5",
Capabilities: schema.Capabilities{
Query: schema.QueryCapabilities{
Variables: schema.LeafCapability{},
Expand Down
2 changes: 1 addition & 1 deletion example/codegen/connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

var connectorCapabilities = schema.CapabilitiesResponse{
Version: "0.1.4",
Version: "0.1.5",
Capabilities: schema.Capabilities{
Query: schema.QueryCapabilities{
Variables: schema.LeafCapability{},
Expand Down
2 changes: 1 addition & 1 deletion example/codegen/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ cd "$(dirname "${BASH_SOURCE[0]}")"
mkdir -p ./dist

if [ ! -f ./dist/ndc-test ]; then
curl -L https://github.com/hasura/ndc-spec/releases/download/v0.1.4/ndc-test-x86_64-unknown-linux-gnu -o ./dist/ndc-test
curl -L https://github.com/hasura/ndc-spec/releases/download/v0.1.5/ndc-test-x86_64-unknown-linux-gnu -o ./dist/ndc-test
chmod +x ./dist/ndc-test
fi

Expand Down
2 changes: 1 addition & 1 deletion example/codegen/testdata/capabilities
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.1.4",
"version": "0.1.5",
"capabilities": {
"query": {
"variables": {}
Expand Down
2 changes: 1 addition & 1 deletion example/reference/connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func (mc *Connector) HealthCheck(ctx context.Context, configuration *Configurati

func (mc *Connector) GetCapabilities(configuration *Configuration) schema.CapabilitiesResponseMarshaler {
return &schema.CapabilitiesResponse{
Version: "0.1.4",
Version: "0.1.5",
Capabilities: schema.Capabilities{
Query: schema.QueryCapabilities{
Aggregates: schema.LeafCapability{},
Expand Down
2 changes: 1 addition & 1 deletion example/reference/connector_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/hasura/ndc-sdk-go/schema"
)

const test_SpecVersion = "v0.1.4"
const test_SpecVersion = "v0.1.5"

func createTestServer(t *testing.T) *connector.Server[Configuration, State] {
server, err := connector.NewServer[Configuration, State](&Connector{}, &connector.ServerOptions{
Expand Down
2 changes: 1 addition & 1 deletion example/reference/testdata/capabilities
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.1.4",
"version": "0.1.5",
"capabilities": {
"query": {
"aggregates": {},
Expand Down

0 comments on commit 53706fb

Please sign in to comment.