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

connections.rb « graphql « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fbccdfa7b081c5824b9c3b8d62d5720232bb6f1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

module Gitlab
  module Graphql
    module Connections
      def self.use(_schema)
        GraphQL::Relay::BaseConnection.register_connection_implementation(
          ActiveRecord::Relation,
          Gitlab::Graphql::Connections::KeysetConnection
        )
      end
    end
  end
end