debian-mirror-gitlab/lib/gitlab/graphql/connections.rb
2019-02-15 15:39:39 +05:30

14 lines
317 B
Ruby

# 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