Replies: 1 comment 1 reply
-
https://github.com/B2o5T/graphql-eslint/blob/master/docs/rules/no-deprecated.md Is this the rule you are looking for? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
Im looking to implement a stricter enforcing of graphql schema writing style.
My goal is to point out style discrepancies using the linter, and allow people to deprecate their old types/fields/operations in favor of style adhering ones. However after playing around with the linter i don't see a way to have the linter ignore rules for deprecated fields. Having a bunch of ignore directives in an already massive schema doesn't seem like the cleanest solution.
How difficult would that be to implement? Is there a solution that won't involve modifying all the individual rules?
If this is currently possible in any way i'd love to hear how i can accomplish it.
Beta Was this translation helpful? Give feedback.
All reactions