Overview
The Hasura GraphQL Connector allows for connecting to a GraphQL API and bringing it into Hasura DDN supergraph as a single unified API. It can also be used to bring in your current Hasura v2 graphQL API into Hasura DDN and our recommended approach is to create a new subgraph for the v2 API.
For Hasura v2 users, this functionality is the replacement of remote schemas functionality in v3 (DDN).
The ndc-graphql
data connector is open source and can be found in the
ndc-graphql GitHub repository.
Prerequisites
- Create a Hasura Cloud account
- Please ensure you have the DDN CLI and Docker installed
- Create a supergraph
- Create a subgraph
The steps below explain how to initialize and configure a connector on your local machine (typically for development purposes).You can learn how to deploy a connector to Hasura DDN — after it's been configured — here.
Using the GraphQL connector
Check out the Hasura docs here to get started with the GraphQL connector.
Deployment
The connector is hosted by Hasura and can be used from the Hasura v3 CLI and Console. Please follow either the Quick Start Guide or deploying the connector.
Troubleshooting
Please submit a Github issueif you encounter any problems!