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