Wrapper of apollo:codegen to generate client side types from your queries as well as the gatsby schema & apollo config to provide autocomplete with apollographql.vscode-apollo
If you’re working with Gatsby and leveraging GraphQL queries, then gatsby-plugin-codegen is a must-have tool. This powerful plugin streamlines the process of generating TypeScript or Flow type definitions directly from your Gatsby queries, ultimately enhancing the development experience by providing strong type safety. Not only does it simplify the management of types, but it also facilitates a smoother workflow with enhanced autocomplete features in your development environment.
With seamless integration into your Gatsby project, this plugin sets up the necessary configuration with just a simple installation command. Once configured, it generates an Apollo config file and a local schema file, making it easier for developers to interact with their data effectively and efficiently.
npm install --save gatsby-plugin-codegen), making it easy to get started.