debian-mirror-gitlab/app/graphql/resolvers/authored_merge_requests_resolver.rb
2021-02-22 17:27:13 +05:30

13 lines
272 B
Ruby

# frozen_string_literal: true
module Resolvers
class AuthoredMergeRequestsResolver < UserMergeRequestsResolverBase
type ::Types::MergeRequestType.connection_type, null: true
accept_assignee
accept_reviewer
def user_role
:author
end
end
end