#<NameError: uninitialized constant GraphQL::Pro::PunditIntegration::HasPunditRole::Pundit> #4011
Unanswered
sujitrai05
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Did you add pundit to your project? If not, try |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is how I am setting up the resolver field.
field :subscription, Types::Subscription::InstanceType, null: true, default_value: {}, pundit_role: :subscription
Result is coming as expected, however, I get error "#<NameError: uninitialized constant GraphQL::Pro::PunditIntegration::HasPunditRole::Pundit>"
I have included all the pundit field dependencies on base classes.
Why am i getting this issue? What I might have done wrong or wrongly configured?
Beta Was this translation helpful? Give feedback.
All reactions