Answers from the community about GraphQL

Some of the conversations between community members on questions, suggestions and tips for using Sanity. Join our Discord to be a part of it.

TopicCategoriesFeaturedRepliesLast Updated
Deploying GraphQL in a Stackbit/Gatsby project with Sanity12Aug 22, 2020
Gatsby "Invalid string length" error with unknown document ID from Sanity3Aug 18, 2020
Gatsby site crashing with cryptic error, resolved by adjusting resolveReferences depth3Aug 18, 2020
How to Migrate Data From Craft CMS Commerce Website to Sanity5Aug 16, 2020
New field in Sanity schema not appearing in GraphQL API13Aug 11, 2020
Do I need `sanity deploy` when hosting studio on Netlify after schema changes?2Aug 4, 2020
Sanity GraphQL: Duplicate type name error with reference and inline types3Jul 30, 2020
Sanity Studio API connection error with new blog preset project23Jun 3, 2020
Where to find the GraphQL Playground URL in Sanity?14May 29, 2020
Converting Markdown to Sanity: Direct vs HTML Conversion Approach34May 18, 2020
GraphQL Playground URL - Is it Publicly Accessible?3May 15, 2020
Discussion about issues with querying the "contacts" field in a Sanity.io document.36May 15, 2020
Gatsby GraphQL Error - Cannot query field “allProject” on type “Query”4May 10, 2020
How does Sanity's GraphQL endpoint return Portable Text as parsed JSON?13May 10, 2020
Fetch draft content with GraphQL API for previews3Apr 29, 2020
GraphQL deploy fails after sanity upgrade: fields changed from required to nullable7Apr 29, 2020
How to find a document in Sanity by its ID?10Apr 28, 2020
Troubleshooting warning for documents not declared in GraphQL schema during Gatsby build10Apr 28, 2020