js-graphql-intellij-plugin
js-graphql-intellij-plugin copied to clipboard
False positive schema validation errors: 'X' type tried to redefine existing 'X' type
Describe the bug I'm getting invalid schema validation errors:
To Reproduce
- Have .graphqls file
"""The `DateTime` scalar type represents time data, represented as an ISO-8601 encoded UTC date string."""
scalar DateTime
-
DateTime
is underlined red and gives the error above
Expected behavior
No error
Version and Environment Details Operation system: macos IDE name and version: 2021.3 Plugin version: 3.0.0
Hi! What happens if you click "navigate to related definition" in the description? Do you have multiple type declarations with the same name?
@vepanimas oh, lol :D
I have two different schemas in two .graphqls files in the same project and duplicates are checked across them.
Confirmed on 3.1.2