Ecosystem: zodql — Zod-schema-driven GraphQL queries #6226
mattiasahlsen
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi Colin 👋
I built zodql, a library for using Zod schemas as the source of truth for a GraphQL queries — it compiles the schema into the query string, infers the response type from it, and validates the response against that same schema at runtime. It targets Zod 4 (zod is a ^4.0.0 peer dependency).
📦 npm: https://www.npmjs.com/package/@mattiasahlsen/zodql
🛠️ GitHub: https://github.com/mattiasahlsen/zodql
What it does:
Suggested one-liner for the API Libraries section:
All reactions