Skip to content
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

GraphQL/UnusedArgument should respect ruby ... #73

Closed
biow0lf opened this issue Jan 13, 2022 · 2 comments
Closed

GraphQL/UnusedArgument should respect ruby ... #73

biow0lf opened this issue Jan 13, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@biow0lf
Copy link

biow0lf commented Jan 13, 2022

Hello,

rubocop-graphql should respect ruby ... (shorthand syntax for forwarding arguments to a method).

Example code:

def resolve(...)
  Forms::UpdateUserForm.new(context, ...)
end
@DmitryTsepelev DmitryTsepelev added the bug Something isn't working label Jan 14, 2022
@DmitryTsepelev
Copy link
Owner

Good point! Do you want to try to implement this? 🙂

@nipe0324
Copy link
Contributor

I try to fix this. #79

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants