2020-06-23 00:09:42 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Resolvers
|
2021-01-29 00:20:46 +05:30
|
|
|
class AssignedMergeRequestsResolver < UserMergeRequestsResolverBase
|
|
|
|
type ::Types::MergeRequestType.connection_type, null: true
|
2021-01-03 14:25:43 +05:30
|
|
|
accept_author
|
2021-02-22 17:27:13 +05:30
|
|
|
accept_reviewer
|
2021-01-03 14:25:43 +05:30
|
|
|
|
2020-06-23 00:09:42 +05:30
|
|
|
def user_role
|
|
|
|
:assignee
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|