Answers from the community about Schema

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
How to fetch all references in GROQ block content query?14Feb 9, 2021
Portable Text field not working correctly. It defaults to always use Heading for some reason. Even when creating a bullet...2Feb 9, 2021
Setting object schema within a custom input component in Sanity26Feb 6, 2021
ReferenceError: document is not defined during Sanity GraphQL deploy17Feb 5, 2021
I try adding indentations but it just jumps to the publish button7Feb 4, 2021
Customizing document list preview format with Structure Builder5Feb 3, 2021
How to create a document with a weak reference using Sanity client?2Feb 2, 2021
Gatsby: Query array of references returns _ref instead of full documents18Feb 1, 2021
Text blocks rendering at same size in block-content-to-react9Feb 1, 2021
I have an array of references to a country schema type but it always just returns NULL values for me11Jan 30, 2021
Querying array of references in Sanity schema and resolving null values11Jan 30, 2021
Filtering a reference list with a dynamic filter in Sanity.io13Jan 28, 2021
I've noticed I can add a preview to an image type but it only pulls data from the settings field name in the fields[] within...15Jan 27, 2021
Display localized field titles in Sanity Studio with custom schema5Jan 27, 2021
Getting Uncaught Error cannot create property ‘validation’ on string ‘string’ when I have fields property as well as a validation...2Jan 17, 2021
Error: "Cannot use import statement outside a module" on graphql deploy18Jan 16, 2021
References showing as "untitled" in Sanity array - how to add preview?37Jan 15, 2021
Mux plugin upload fails: video file not available from Sanity Google Storage17Jan 13, 2021