Welcome to mirror list, hosted at ThFree Co, Russian Federation.

externally_paginated_array_extension.rb « extensions « graphql « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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