gatsby-plugin-graphql-codegen

JSON →
library 3.1.1 ·javascript
verified Jun 7, 2026

A Gatsby plugin that automates TypeScript type generation for GraphQL queries using graphql-code-generator. Version 3.1.1 is the latest stable; it supports Gatsby >=3.0.0 and requires GraphQL ^15.0.0 and TypeScript as peer dependencies. Key differentiators: integrates seamlessly with Gatsby's build pipeline, auto-discovers query files, and supports additional schemas for client-side queries. Released under the MIT license with no known security incidents.