gitlab-org--gitlab-foss/app/graphql/resolvers/authored_merge_requests_resolver.rb

13 lines
252 B
Ruby
Raw Normal View History

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