Skip to content

Commit 56ae3f9

Browse files
committed
fixed README
1 parent 7feabd1 commit 56ae3f9

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,22 @@ type: `ValidationSchemaExportType` default: `'function'`
203203

204204
Specify validation schema export type.
205205

206+
### `useEnumTypeAsDefault`
207+
208+
type: `boolean` default: `false`
209+
210+
Uses the full path of the enum type as the default value instead of the stringified value.
211+
212+
### `namingConvention`
213+
214+
type: `NamingConventionMap` default: `{ enumValues: "change-case-all#pascalCase" }`
215+
216+
Uses the full path of the enum type as the default value instead of the stringified value.
217+
218+
Note: This option has not been tested with `namingConvention.transformUnderscore` and `namingConvention.typeNames` options and may not work as expected.
219+
220+
Related: https://the-guild.dev/graphql/codegen/docs/config-reference/naming-convention#namingconvention
221+
206222
### `directives`
207223

208224
type: `DirectiveConfig`

0 commit comments

Comments
 (0)