Skip to content

Commit

Permalink
docs: 📝 remove duplicate codegenPluginConfigs in README
Browse files Browse the repository at this point in the history
  • Loading branch information
DerZade authored Jul 12, 2024
1 parent 9b0d295 commit 9a77199
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,16 +162,6 @@ Default: `true`

If `true`, instructs plugin to generate type declaration files next to included `.graphql` / `.gql` files, to allow for type-safe GraphQL queries / mutations.


### `codegenPluginConfigs`

Type: `Object` (see [here](https://the-guild.dev/graphql/codegen/plugins/typescript/typescript#config-api-reference))
Default: `{}`

Config to pass to the typescript plugin of GraphQL codegen.
This allows you to set options like [TS types for scalars](https://the-guild.dev/graphql/codegen/plugins/typescript/typescript#scalars).
See [here](https://the-guild.dev/graphql/codegen/plugins/typescript/typescript#config-api-reference) for a detailed list of options.

### `strictScalars`

Type: `Boolean`
Expand Down Expand Up @@ -217,4 +207,4 @@ Configs to pass to the GraphQL-Codegen plugins. Has to properties:
- `typescriptOperations` for TypeScript operations plugin (see [documentation](https://the-guild.dev/graphql/codegen/plugins/typescript/typescript-operations#config-api-reference))

> [!NOTE]
> `strictScalars`, `defaultScalarType`, and `scalars` in both `typescript` and `typescriptOperations` configs will be overridden by the options in this plugin.
> `strictScalars`, `defaultScalarType`, and `scalars` in both `typescript` and `typescriptOperations` configs will be overridden by the options in this plugin.

0 comments on commit 9a77199

Please sign in to comment.