Using Sanity with Hasura: Merging GraphQL endpoints to manage content

2 replies
Last updated: Dec 17, 2020
Hello,I have a question about using sanity with Hasura ( )I want to have users and other data in Hasura and content like e.g blog posts in sanity so I can manage. Hasura has a thing called remote schemas that will merge your remote schema with the GraphQL engine’s auto-generated schema. But I wasn’t able to figure it out because I didn’t find a single graphql endpoint in docs to merge it with Hasura. Is this even possible or have anyone experience with something like this? This is possible with contentful so I guess it should be with sanity as well ( )
Dec 17, 2020, 10:12 AM
You need to use the CLI to generate a GraphQL endpoint for your project:
When you do it will ouput the endpoint URL that you can add to the Hasura instance.
Dec 17, 2020, 12:45 PM
Thank you, this was it 🙂
Dec 17, 2020, 1:04 PM

Sanity– build remarkable experiences at scale

The Sanity Composable Content Cloud is the headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?

Categorized in