GraphQL Code Generator: the new developer experience
First, GraphQL Code Generator now support and encourage TypeScript configuration file (
Moving to TypeScript configuration provides autocompletion and avoids typos, with better integrations with nowadays projects and IDEs.
Another major improvement is the
client preset release that delivers the best developer experience when building GraphQL applications.
The newly released `client` preset brings you typed GraphQL Queries and Mutations with no need to import types or other generated code (hooks).
Just use the provided
graphql() helper function to define your GraphQL documents and get an instant typed GraphQL experience, will all framework.