Mayank1791989 / gql

112 stars 19 forks source link

How to disable rule "unique type names"? #153

Closed seniv closed 5 years ago

seniv commented 5 years ago

Hello everyone! Because of I'm using https://github.com/okgrow/merge-graphql-schemas this package to merge graphql schemas, I have defined Types Query/Mutation/Subscription multiple times, and I got an error Schema must contain unique named types but contains multiple types named "Query".graphql(syntax).

How I can disable this rule for these types, or disable it at all? I've tried to disable it in .gqlconfig, but don't know which rule I have to disable

Mayank1791989 commented 5 years ago

See https://github.com/kumarharsh/graphql-for-vscode/issues/92#issuecomment-386687710

seniv commented 5 years ago

Thanks for your answer. That's sad that i can't disable it, but for now the issue can be closed