Open kryptonat opened 4 years ago
Since you're using graphql 15
, I believe that you have to add "Rule" suffix to your validators. So FieldsOnCorrectType
should become FieldsOnCorrectTypeRule
Check this PR for more info : https://github.com/apollographql/eslint-plugin-graphql/pull/281
Hi, I'm getting an unexpected validation rule error from giving an array of desired validators as per instructions. I had no issues with this configuration for
graphql@1.10.9
andeslint-plugin-graphql@3.1.1
but don't see why it wouldn't work for the following package versions either.is giving the following error
Versions
eslint-plugin-graphql@4.0.0
graphql@15.3.0