GraphQL Codegen Zod
JSON →A GraphQL codegen plugin that generates Zod schemas from GraphQL input types. Version 1.10.6 is stable, actively maintained. It allows developers to define validation rules via GraphQL directives (@validation) or rely on required fields only. Key differentiator: keeps GraphQL as single source of truth for validation, supports custom scalar mappings, and integrates with GraphQL Code Generator ecosystem.
Resources
packagegraphql-codegen-zod ↗
API endpoints
full doc /v1/registry/graphql-codegen-zod