Skip to content

Duplicate table fields causes error with graphql-codegen #13

Description

@jonaskello

I ran across a case where in custom_tables module there was a table called Price and a table called price. This works with the API becuase it can create a GraphQL schema where both these fields exist as the schema is case sensitive. However when using graphql-codegen it makes the first letter of every type it generated upper-case (this is the convention for type names). So then we get two type Price and compile errors.

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