-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Description
Hello,
i've recently upgraded both gatsby and sanity plugin, and sanity studio from v2->v3. Updated schemas and queries
It seems like grapql is generated with nulls for id fields
Example of the direct sanity query (redeployed after the upgrade):
query allPosts{ allPost { _id title categories { _id _type title } } }
Gatsby query:
query allPosts { allSanityPost(sort: {_createdAt: DESC}) { nodes { categories { _id _type } _type title } } }
As you see, _id is null
Raw field for categories have populated id btw, so i might use it as a WA
I've checked other "Null" ticket and the ticket it's linked to, but didn't figure out how it could be related to my issue
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels

