-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
Add ignore list to no-unused-fields
rule
#2280
Comments
9 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
The
no-unused-fields
rule is a great way to avoid bloat in my schema, but I'm willing to accept that bloat in some cases. For example, I'm not worried if I don't request all the relay pagination fields for every connection exposed in my schema. Currently, though, that's a dealbreaker preventing me from using this rule.Describe the solution you'd like
Any configuration option to provide a list of fields that are allowed to be unused. I'm not particularly wedded to any format for that configuration, but
I'll provide a PR shortly that showcases one option.see PR here with one possible option.Additional context
n/a
The text was updated successfully, but these errors were encountered: