Skip to content

Commit

Permalink
docs: Fix field conversion strategy docs (#3192)
Browse files Browse the repository at this point in the history
  • Loading branch information
BobaFetters authored Aug 15, 2023
1 parent 8c7f1cc commit 7b02cb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/code-generation/codegen-configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ The top-level properties are:
"warningsOnDeprecatedUsage": "include",
"conversionStrategies": {
"enumCases": "camelCase",
"fieldCasing": "default"
"fieldAccessors": "default"
},
"pruneGeneratedFiles": true
}
Expand Down Expand Up @@ -470,7 +470,7 @@ let configuration = ApolloCodegenConfiguration(
warningsOnDeprecatedUsage: .include,
conversionStrategies: ApolloCodegenConfiguration.ConversionStrategies(
enumCases: .camelCase,
fieldCasing: .default
fieldAccessors: .default
),
pruneGeneratedFiles: true
)
Expand Down

0 comments on commit 7b02cb0

Please sign in to comment.