2020-06-02 15:08:24 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Resolvers
|
2020-11-13 12:09:03 +00:00
|
|
|
class AssignedMergeRequestsResolver < UserMergeRequestsResolverBase
|
|
|
|
type ::Types::MergeRequestType.connection_type, null: true
|
2020-10-05 18:08:51 +00:00
|
|
|
accept_author
|
|
|
|
|
2020-06-02 15:08:24 +00:00
|
|
|
def user_role
|
|
|
|
:assignee
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|