We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 } } }
query allPosts{ allPost { _id title categories { _id _type title } } }
Results:
Gatsby query: query allPosts { allSanityPost(sort: {_createdAt: DESC}) { nodes { categories { _id _type } _type title } } }
query allPosts { allSanityPost(sort: {_createdAt: DESC}) { nodes { categories { _id _type } _type title } } }
Result:
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
The text was updated successfully, but these errors were encountered:
@trancikk did you try to roll back sanity plugin to 7.6.3?
Sorry, something went wrong.
only after your suggestion :) On 7.6.3 _id are populated, without other changes except downgrading
So this must be the same RC as #245 ?
No branches or pull requests
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 } } }
Results:
Gatsby query:
query allPosts { allSanityPost(sort: {_createdAt: DESC}) { nodes { categories { _id _type } _type title } } }
Result:
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
The text was updated successfully, but these errors were encountered: