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