2018-12-23 12:14:25 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
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
|