summaryrefslogtreecommitdiff
path: root/lib/gitlab/graphql/extensions/externally_paginated_array_extension.rb
blob: f787e7be94a3f81fe54fb17dd2f3e3769d39392e (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, arguments)
        end
      end
    end
  end
end