Skip to content

Commit

Permalink
fix onlyEnums passthrough in client-preset
Browse files Browse the repository at this point in the history
  • Loading branch information
konomae committed Feb 5, 2025
1 parent 81b20f5 commit c39e56b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/weak-lions-occur.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphql-codegen/client-preset': patch
---

fix `onlyEnums` passthrough in client-preset
2 changes: 1 addition & 1 deletion packages/presets/client/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export const preset: Types.OutputPreset<ClientPresetConfig> = {
documentMode: options.config.documentMode,
skipTypeNameForRoot: options.config.skipTypeNameForRoot,
onlyOperationTypes: options.config.onlyOperationTypes,
onlyEnumTypes: options.config.onlyEnumTypes,
onlyEnums: options.config.onlyEnums,
customDirectives: options.config.customDirectives,
};

Expand Down

0 comments on commit c39e56b

Please sign in to comment.