js-graphql-intellij-plugin icon indicating copy to clipboard operation
js-graphql-intellij-plugin copied to clipboard

Error highlighting does not work for me

Open oliverwatkins opened this issue 10 months ago • 1 comments

Describe the bug Error highlighting does not work. For more info :

https://stackoverflow.com/questions/78328361/intellij-graphql-plugin-error-highlighting-not-working

To Reproduce See SO question

oliverwatkins avatar Apr 15 '24 14:04 oliverwatkins

Hi @oliverwatkins! From your question I see that you have a folder structure like this :

|-- project | |-- frontend | | +-- myQueryDeclerations.ts | | +-- schema.graphql | +-- graphql.config.yml

So, the path to the schema in your config should be schema: frontend/schema.graphql, instead of schema: schema.graphql.

vepanimas avatar Apr 17 '24 09:04 vepanimas