Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate table fields causes error with graphql-codegen #13

Open
jonaskello opened this issue Feb 5, 2021 · 0 comments
Open

Duplicate table fields causes error with graphql-codegen #13

jonaskello opened this issue Feb 5, 2021 · 0 comments

Comments

@jonaskello
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant