summaryrefslogtreecommitdiff
path: root/lib/gitlab/graphql/extensions/externally_paginated_array_extension.rb
blob: 1adedb500e607015fe0911b1d11d4a770f16ec47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true
module Gitlab
  module Graphql
    module Extensions
      class ExternallyPaginatedArrayExtension < GraphQL::Schema::Field::ConnectionExtension
        def resolve(object:, arguments:, context:)
          yield(object, arguments)
        end
      end
    end
  end
end