-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
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
Nullable Array always projects/arraypostfixes to a null #641
Comments
I've made a PR with a test against this in #642, and can confirm that this is indeed a bug. I'll take a look and see. GROQ will give you a |
Yeah, I think that's the issue. When I change the projection just to |
The other thing to mention is that I don't think it has anything to do with the |
Packages:
@sanity-typed/client
@sanity-types/types
Issue:
When i am querying for data with groq queries, the generated types does not show hidden fields correct.
Hidden fields are permanently null and they do not respect the hidden fields rule set in the schema.
I have been dealing with this issue for 5 hours now and i believe i have tried everything. Any help or insight into why this issue occurs is much appreciated.
Context:
Frontend:
Schema:
Real data:
The text was updated successfully, but these errors were encountered: