Configuring GraphQL Code Generation

A code generation configuration normally specifies the GraphQL schema source, operation document locations, plugins, and output paths.

A project may generate different artifacts for different purposes. Server code may need resolver types, while a React client may need operation result types and typed document nodes.

The exact configuration depends on the chosen GraphQL code generation ecosystem and client architecture.