-
Notifications
You must be signed in to change notification settings - Fork 106
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
Rule to mandate input of a mutation as required #1929
Comments
Why do you think this rule should be part of graphql-eslint? |
@B2o5T, sorry there was a typo in my original example, I fixed it now. Additional context is that we want to enforce all mutations have non-null Input. If we don't have exclamation mark the input becomes optional and we do not want optional inputs. |
Will you be planning to add this rule? |
@dimaMachina , could you please let me know if you have any plans to implement this rule? |
@gituserjava This rule is accepted, if you want you can work on it and send a PR |
I forked the repository and will explore on this based on my availability. Quick question, which command should I use to run the test and see the result? For example, I want to test "input-name.spec.ts". |
|
Allow
Disallow
The text was updated successfully, but these errors were encountered: