graphql-code-generator
graphql-code-generator copied to clipboard
A tool for generating code based on a GraphQL schema and GraphQL operations (query/mutation/subscription), with flexible support for custom plugins.
we should pass in codegen with version number as a User Agent header. Internal Ref: https://guild-oss.slack.com/archives/C013PFF4T1U/p1693994072091559
### Is your feature request related to a problem? Please describe. Relay v18.0.0 introduces a new feature "Semantic Non Null", https://relay.dev/docs/guides/semantic-nullability/ > The proposal works by allowing the schema to...
### Which packages are impacted by your issue? @graphql-codegen/cli, @graphql-codegen/typescript ### Describe the bug When using the typescript plugin to attempt to generate types from a GraphQL Schema - it...
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically....
## Description This PR compliments https://github.com/dotansimha/graphql-code-generator/pull/9989 and should be merged after. Previously, we always generate `__isTypeOf` type which means consumers may try to implement it, even when they don't have...
## Description Passes through the `onlyOperationTypes` and `onlyEnumTypes` config options for the client preset. `onlyOperationTypes` defaults to `false` however it would be useful focusing type generation on just the operations,...
### Which packages are impacted by your issue? @graphql-codegen/cli ### Describe the bug Installed with `relay-compiler` will cause `npm i -D relay-compiler@latest` to install v12 instead of the latest one,...
### Which packages are impacted by your issue? @graphql-codegen/core ### Describe the bug ### Describe the bug I am in the process of setting up `[graphql-codegen](https://github.com/dotansimha/graphql-code-generator)` in my create-react-app project,...
## Description When generating types with onlyOperationTypes: true, unused input types and enums will no longer be generated. Related #9665 ## Type of change - [x] Bug fix (non-breaking change...
The client-preset package restricts the allowed configs to improve developer experience, however in monorepo environments it is important that some things work the same across the board. A big example...