Unknown type “” in grapthqls files with GraphQL in Intellij

Unknown type “” in grapthqls files with GraphQL in Intellij


0

I have created multiple graphqls files with multiple types but the Intellij will not recognize the types when used.

!Important: No error was thrown at compile time and the queries works as expected but visually is very annoing to have everything in red

In the next image you can see that i have the DataPage type declared but not seen by Intellij. Also the AccountFilter is from another graphqls file. As I mentioned everything work as expected.

Unknown type "" in grapthqls files with GraphQL in Intellij

I’m using the GraphQL plugin -> version: 4.0.2
Intellij version -> 2023.2

What can I configure in order to have the types correctly visualized in Intellij?

I have invalidate cache for intellij and tried to configure inspection regarding unresolved reference but i want to have the features provided when a real unresolved reference occure.

1

  • Also, the same unknown type is present when I try to use any imported scalar.

    – Gheorghita Croitor

    1 hour ago


Load 6 more related questions


Show fewer related questions

0



Leave a Reply

Your email address will not be published. Required fields are marked *