Skip to content

Commit c7a0093

Browse files
authored
Merge branch 'master' into formatting
2 parents cb59ef4 + 6da52a3 commit c7a0093

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/weak-lions-occur.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@graphql-codegen/client-preset': patch
3+
---
4+
5+
fix `onlyEnums` passthrough in client-preset

packages/presets/client/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export const preset: Types.OutputPreset<ClientPresetConfig> = {
135135
documentMode: options.config.documentMode,
136136
skipTypeNameForRoot: options.config.skipTypeNameForRoot,
137137
onlyOperationTypes: options.config.onlyOperationTypes,
138-
onlyEnumTypes: options.config.onlyEnumTypes,
138+
onlyEnums: options.config.onlyEnums,
139139
customDirectives: options.config.customDirectives,
140140
};
141141

0 commit comments

Comments
 (0)