NoMethodError: undefined method `authorize_mutation_raise_exception'
rzaharenkov opened this issue · 0 comments
rzaharenkov commented
Tell us about your environment
Ruby Version: 2.6
Framework Version (Rails, whatever): Rails
Action Policy Version: 0.5.3
Action Policy GraphQL Version: 0.5.0
What did you do?
Using field authorization in mutations.
What did you expect to happen?
It should raise authorization error if user is not authorized to access fields.
What actually happened?
It raises NoMethodError
:
NoMethodError:
undefined method `authorize_mutation_raise_exception' for ActionPolicy::GraphQL:Module
Did you mean? authorize_raise_exception
preauthorize_mutation_raise_exception