debian-mirror-gitlab/lib/gitlab/graphql/extensions/externally_paginated_array_extension.rb
2021-04-17 20:07:23 +05:30

12 lines
312 B
Ruby

# frozen_string_literal: true
module Gitlab
module Graphql
module Extensions
class ExternallyPaginatedArrayExtension < GraphQL::Schema::Field::ConnectionExtension
def resolve(object:, arguments:, context:)
yield(object, arguments, arguments)
end
end
end
end
end