Skip to content

Commit

Permalink
Update docs for input objects casing strategy (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
BobaFetters authored and gh-action-runner committed Nov 16, 2023
1 parent 69b3567 commit 15394e1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/source/code-generation/codegen-configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,8 @@ The top-level properties are:
"warningsOnDeprecatedUsage": "include",
"conversionStrategies": {
"enumCases": "camelCase",
"fieldAccessors": "default"
"fieldAccessors": "default",
"inputObjects": "camelCase"
},
"pruneGeneratedFiles": true,
"markOperationDefinitionsAsFinal": true
Expand Down Expand Up @@ -470,7 +471,8 @@ let configuration = ApolloCodegenConfiguration(
warningsOnDeprecatedUsage: .include,
conversionStrategies: ApolloCodegenConfiguration.ConversionStrategies(
enumCases: .camelCase,
fieldAccessors: .default
fieldAccessors: .default,
inputObjects: .camelCase
),
pruneGeneratedFiles: true,
markOperationDefinitionsAsFinal: true
Expand Down Expand Up @@ -741,7 +743,8 @@ Below is an example that illustrates an `apollo-codegen-config.json` where every
"cocoapodsCompatibleImportStatements" : true,
"conversionStrategies" : {
"enumCases" : "none",
"fieldAccessors" : "camelCase"
"fieldAccessors" : "camelCase",
"inputObjects": "camelCase"
},
"deprecatedEnumCases" : "exclude",
"operationDocumentFormat" : [
Expand Down

0 comments on commit 15394e1

Please sign in to comment.