ariadne-codegen icon indicating copy to clipboard operation
ariadne-codegen copied to clipboard

Client methods for queries and mutation names do not respect `convert_to_snake_case = false`

Open nocnokneo opened this issue 1 year ago • 0 comments

With config like:

[tool.ariadne-codegen]
# ...
convert_to_snake_case = false
plugins = ["ariadne_codegen.contrib.shorter_results.ShorterResultsPlugin"]
async_client = false

And a mutation like:

mutation createGroup($group: CreateGroupInput!) {
    createGroup(group: $group) {
        ...GroupFragment
    }
}

I get a Client method:

def create_group(...)

nocnokneo avatar Feb 21 '24 17:02 nocnokneo