Skip to content

Commit

Permalink
add ndc-go connector to registry (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
hgiasac authored Mar 26, 2024
1 parent c65c739 commit dacf4cb
Show file tree
Hide file tree
Showing 3 changed files with 134 additions and 0 deletions.
17 changes: 17 additions & 0 deletions registry/go/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
## Overview

The Go connector allows you to expose Go functions as NDC functions/procedures for use in your Hasura DDN subgraphs.
The connector provides a boilerplate with NDC Go SDK and a generation tool to generate NDC schema and DRY functions from Go code.

- [GitHub Repository](https://github.com/hasura/ndc-sdk-go)

## How to Use

See the README file in the boilerplate which is generated from [this template](https://github.com/hasura/ndc-sdk-go/blob/main/cmd/ndc-go-sdk/templates/new/README.md.tmpl), or see [README of the generation tool on the GitHub repository](https://github.com/hasura/ndc-sdk-go/blob/main/cmd/ndc-go-sdk/README.md) for more context.

## Compatibility

| Go Version | SDK Version |
| ---------- | ----------- |
| 1.21+ | v1.x |
| 1.19+ | v0.x |
60 changes: 60 additions & 0 deletions registry/go/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
57 changes: 57 additions & 0 deletions registry/go/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"overview": {
"namespace": "hasura",
"description": "The Go connector allows you to expose Go functions as NDC functions/procedures for use in your Hasura DDN subgraphs.",
"title": "Go Connector",
"logo": "logo.svg",
"tags": ["Go"],
"latest_version": "v1.0.0"
},
"author": {
"support_email": "[email protected]",
"homepage": "https://hasura.io",
"name": "Hasura"
},
"is_verified": true,
"is_hosted_by_hasura": false,
"packages": [
{
"version": "v1.0.0",
"uri": "https://github.com/hasura/ndc-sdk-go/releases/download/v1.0.0/connector-definition.tgz",
"checksum": {
"type": "sha256",
"value": "906db79cf5565eaca731436180295d2d7ee81246b57cc7dcdde14585841f53a5"
},
"source": {
"hash": "42259e9a9c719131721f0058c552e9b8a4a36973"
}
},
{
"version": "v0.4.0",
"uri": "https://github.com/hasura/ndc-sdk-go/releases/download/v0.4.0/connector-definition.tgz",
"checksum": {
"type": "sha256",
"value": "13e6c4e970e032307cbb9edbb9d79ad555880c46d8a58d98f23ce441cef7d7b2"
},
"source": {
"hash": "ac27498b6dbd5e803ca97e0fc702f52e2d9b429d"
}
}
],
"source_code": {
"is_open_source": true,
"repository": "https://github.com/hasura/ndc-sdk-go",
"version": [
{
"tag": "v1.0.0",
"hash": "42259e9a9c719131721f0058c552e9b8a4a36973",
"is_verified": true
},
{
"tag": "v0.4.0",
"hash": "ac27498b6dbd5e803ca97e0fc702f52e2d9b429d",
"is_verified": true
}
]
}
}

0 comments on commit dacf4cb

Please sign in to comment.