-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot disable relay-page-info-spec #269
Comments
Hey @shellscape! Thanks for opening this issue. That's odd. 🤔 It might have to do with how the Definitely something weird going on. In the meantime, you could use |
Thanks for replying so quickly. I'm going the route of explicitly defining all rules (sans that one) in package.json. Added bonus of being declarative for folks wondering what it's validating, but I wanted to make the project aware of the issue. |
Awesome!
Thanks I really appreciate the help. |
|
Found that
|
I believe the problem is because graphql-schema-linter/src/validator.js Line 141 in fb0dd42
|
Small bump on the above issue since the given workaround will not work much longer: |
Please consider the schema below. The comment at the top follows the docs for disabling a rule. When running the linter against that schema, the error
A ``PageInfo`` object type is required as per the Relay spec.
is thrown even though the linter is being instructed to ignore it.The text was updated successfully, but these errors were encountered: