the linter is complaining about NotAuthorizedNodeType even when we use the pundit integration. it should see that we are doing the authorization through pundit and so be silent for the type doing authorization through pundit.
module Types
class UserType < Types::Base::Object
description "User personal data information"
implements GraphQL::Types::Relay::Node
global_id_field :id
pundit_policy_class UserPolicy
pundit_role :show
end
end
the linter is complaining about
NotAuthorizedNodeType
even when we use the pundit integration. it should see that we are doing the authorization through pundit and so be silent for the type doing authorization through pundit.