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.
### Which packages are impacted by your issue? @graphql-codegen/cli ### Describe the bug When running `graphql-codegen` in the CLI, the return value of `os.cpus().length` is passed into `task.newListr`. However, in...
### Which packages are impacted by your issue? _No response_ ### Describe the bug pnpm why [email protected] @graphql-codegen/cli 6.0.2 ├─┬ @graphql-tools/apollo-engine-loader 8.0.26 │ └─┬ sync-fetch 0.6.0-2 │ └─┬ node-fetch 3.3.2...
### Which packages are impacted by your issue? @graphql-codegen/visitor-plugin-common ### Describe the bug When setting `useTypeImport` and providing a custom fetcher, the import of the custom fetcher is wrong It's...
### Which packages are impacted by your issue? @graphql-codegen/typescript-resolvers ### Describe the bug If you have a type named `Subscription`: ``` type Query { subscriptions: [Subscription] } type Subscription {...
### Which packages are impacted by your issue? @graphql-codegen/cli, @graphql-codegen/typescript-operations, @graphql-codegen/typescript ### Describe the bug ### Description When using the `enumValues` configuration to import an external enum with a different...
### Is your feature request related to a problem? Please describe. We have a pretty huge schema, and TypeScript LSP performance is a major pain point for us. I'm looking...
## Description Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change....
## Description Found and fixed various typos ## Type of change - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds...
## Description I added description for `--check` flag to CLI build options help. Related #10224 ## Type of change - [x] New feature (non-breaking change which adds functionality) ## How...
## Description https://github.com/dotansimha/graphql-code-generator/pull/9705 added `extractAllFieldsToTypes` to improve perf significantly on large codebases by extracting and reusing types. This PR forwards the option to client-preset ## Type of change - [x]...