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
Adding a nested object filter to GROQ-query results in never #648
Comments
studiodrimmel
changed the title
Multiple filters result in unknown responses
Addiuertng filters to GROQ-query results in never
Jan 23, 2024
studiodrimmel
changed the title
Addiuertng filters to GROQ-query results in never
Adding filters to GROQ-query results in never
Jan 23, 2024
studiodrimmel
changed the title
Adding filters to GROQ-query results in never
Adding a nested object filter to GROQ-query results in never
Jan 24, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
First of all, thanks for the effort you've put into this!
Whenever I add a nested filter, the generated type is unknown and it only happens if it is a nested property. It always returns never[] / never
This works fine:
However when I add some sort of object inside the document and want to query for it it returns a never:
This is a simplified version, as I created custom objects and added them as types to the schemaTypes array. But it still gives a demonstration of the issue.
Am I missing something in my setup for this to work?
Cheers and kind regards,
Wesley
Rest of the file:
The text was updated successfully, but these errors were encountered: