Naming Convention Transform
The naming-convention
transform allow you apply naming convention to GraphQL types and GraphQL fields easily.
#
How to use?Add the following configuration to your Mesh config file:
You can see our gRPC example that uses this transform to see how it is applied. Click here to open the example on GitHub
#
Config API ReferencetypeNames
(type:String (camelCase | capitalCase | constantCase | dotCase | headerCase | noCase | paramCase | pascalCase | pathCase | sentenceCase | snakeCase | upperCase | lowerCase)
)fieldNames
(type:String (camelCase | capitalCase | constantCase | dotCase | headerCase | noCase | paramCase | pascalCase | pathCase | sentenceCase | snakeCase | upperCase | lowerCase)
)enumValues
(type:String (camelCase | capitalCase | constantCase | dotCase | headerCase | noCase | paramCase | pascalCase | pathCase | sentenceCase | snakeCase | upperCase | lowerCase)
)