You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to support recursive schemas like how Zod [handles them with z.lazy](https://zod.dev/?id=recursive-types).
I'm able to make this recursion in the Sanity schema, but having a hard time building the query with groqd (if that's even possible).
Right now, I would just query the whole field with `subcategories: q("subcategories")` and parse it manually with Zod as a second step, after running the query.
It's worth noting I'm currently on v0, but could explore upgrading to v1 if it's not possible in v0.
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Code of Conduct
Feature Request
The text was updated successfully, but these errors were encountered: