Generate code from your GraphQL schema and operations with a simple CLI. Generate code from your GraphQL schema and GraphQL operations with a single function call regardless of your environment or code format. Watch for changes in your GraphQL schema and operations, and automatically generate code as you go. Codegen easily integrates into your development workflow. One of the goals of GraphQL Codegen is to allow you to easily customize the output, and add custom behaviour according to your needs. You can generate your resolvers' signatures, dump schemas, model types, query builders, React Hooks, Angular Services, and much more! By analyzing the schema and documents and parsing it, GraphQL Code Generator can output code at a wide variety of formats, based on pre-defined templates or based on custom user-defined ones. Regardless of the language that you're using, GraphQL Code Generator got you covered.
Features
- GraphQL Code Generator lets you choose the output that you need, based on plugins
- You can also write your plugins to generate custom outputs that match your needsq
- Regardless of the language that you're using, GraphQL Code Generator got you covered
- GraphQL Code Generator lets you setup everything
- Generate code instantly
- Customize easily and watch for changes