Wondering how to fix the warning WebStorm is giving me for apollo-client. I have the GraphQL plugin installed and everything is up to date with the IDE.
Wondering how to fix the warning WebStorm is giving me for apollo-client. I have the GraphQL plugin installed and everything is up to date with the IDE.
Adding
directive @client on FIELD
in the same file solved the issue in WebStorm.
Overall, even with WebStorm showing the error, GraphQL code generators understood this syntax and obviously no errors were reported.