Integrate with groqd
to do runtime validation
#509
drevantonder
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey!
Love this project and appreciate that someone has taken the time to provide it to the community!
I like how this project reduces the need to specify your schema twice (once as a sanity schema and once as a Typescript schema), but would like the runtime validation
groqd
provides: https://formidable.com/open-source/groqd/My idea is to add the abilty to return a groqd query and schema by this library to use when fetching from sanity.
This would then mean:
I'd be happy to work on such an integration and submit a pull request if this is something that you'd like added to this library!
Beta Was this translation helpful? Give feedback.
All reactions