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

Upgraded to 2.0: Parameter Hash Keys in a field's Inline guard Were camelCase And Are Now snake_case #48

Open
sshaw opened this issue Oct 20, 2020 · 0 comments

Comments

@sshaw
Copy link
Contributor

sshaw commented Oct 20, 2020

Was on 1.2.2, graphql 1.8.10 and just upgraded to 2.0 and graphql 1.11.5 and see that previously:

field :something_amaaaaazing, mutation: Mutations::Foo do
  guard -> (_, args, ctx) do
     # args[someThang] NOTE: camelCase
  end
end

to make that work now one must change someThang to some_thang.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant