Open gituserjava opened 1 year ago
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".
vitest input-name.spec.ts
Allow
Disallow