Skip to content

Query type - irregular naming convention #131

@dougal83

Description

@dougal83

One thing irks me about the current output of oasgraph is that we have query types with numbers added to the end.

Using this example openapi schema from lb4.

Current behaviour

We return a query such as 'Todos3'.

Expected

A consistent naming convention. 'Todos' Alternatively attaching the verb to avoid naming collisions? e.g: 'TodosGet'.

Discussion

I find that the openapi-generator schema produces my idea of an expected naming convention. For the above openapi schema we get the following: graphql schema.

Is this something that can be improved or unnecessary as you see it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions