timqian / gql-generator

Generate queries from graphql schema, used for writing api test.
MIT License
376 stars 93 forks source link

Duplicate identifier #30

Closed clayrisser closed 4 years ago

clayrisser commented 4 years ago

When generating types from gql-generator generated gql using graphql codegen, I get the following error.

"Duplicate identifier" graphql codegen
clayrisser commented 4 years ago

Perhaps this is related to the following pull request.

https://github.com/timqian/gql-generator/pull/13

clayrisser commented 4 years ago

Looks like it's my fault for having the duplicate identifier. I had created some custom gql which created a collision.