2020-06-04 15:08:21 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Resolvers
|
2020-09-14 15:09:28 +00:00
|
|
|
class ProjectMembersResolver < MembersResolver
|
2020-08-21 12:10:22 +00:00
|
|
|
type Types::MemberInterface, null: true
|
|
|
|
|
|
|
|
authorize :read_project_member
|
2020-06-04 15:08:21 +00:00
|
|
|
|
2020-09-14 15:09:28 +00:00
|
|
|
private
|
2020-06-04 15:08:21 +00:00
|
|
|
|
2020-09-14 15:09:28 +00:00
|
|
|
def finder_class
|
2020-06-04 15:08:21 +00:00
|
|
|
MembersFinder
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|