$ graphql-codegen
FEATURES
What you can get from our code generator
We've made sure to provide you with the most high quality features possible based on our experience with GraphQL. We've also based our implementation on existing code generators (such as Swagger) which have proven themselves to be successful over time.
Generate Code Instantly
Generate code out of your GraphQL schema with a single function call regardless of your environment or code format.
Watch for Changes
Watch for changes in your GraphQL schema and automatically generate code as you go using a Webpack plug-in.
Use Right Away
Pick one of our pre-defined code generating templates based on your needs or write one of your own using a boilerplate.
Much More!
You can generate your resolvers, your typescript interfaces, query builders, mutations, filters and more!
COMPANIES
Is enterprise proven
GraphQL Code Generator is not just a concept, it works, and has proven itself to integrate flawlessly with the demanding enviroments of various enterprise companies.

Generate code from your GraphQL schema with a single function call