Skip to content

Commit 1261940

Browse files
authored
fix(preset/client): typo in config mapping (#8457)
1 parent b9e52e3 commit 1261940

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
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+
typo in config mapping

packages/presets/client/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export const preset: Types.OutputPreset<ClientPresetConfig> = {
7474
scalars: options.config.scalars,
7575
defaultScalarType: options.config.defaultScalarType,
7676
strictScalars: options.config.strictScalars,
77-
namingConvention: options.config.scalars,
77+
namingConvention: options.config.namingConvention,
7878
useTypeImports: options.config.useTypeImports,
7979
skipTypename: options.config.skipTypename,
8080
arrayInputCoercion: options.config.arrayInputCoercion,

0 commit comments

Comments
 (0)