Closed Christianlauw123 closed 4 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Hey @Christianlauw123,
Thank you for opening this issue! Have you tried using "camelCase" field names in the policy object like createUser
, updateUser
? The graphql
gem converts "underscore_names" to "camelCase", so I think that should work.
I might need to clarify that in the readme :smile_cat:
UPD. updated the readme https://github.com/exAspArk/graphql-guard/commit/9ed1ab4c606a3d0de1ee414fb67f95c90e59457a
@exAspArk Yeah it should be camelCased as you comment before, but i realize it after that. Thanks for the comment and knowledge
I'd like to use mutation type and query type to be used in GraphQL Policy, but what i got, only "QueryType" that always got called even call mutation. Is there an idea why this happen?
Rails 5.2.3 Ruby 2.6.3