blob: efc912eaeca7e60527572bd42e5746b02c37f49b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# frozen_string_literal: true
# We use the Keyset / Stable cursor connection by default for ActiveRecord::Relation.
# However, there are times when that may not be powerful enough (yet), and we
# want to use standard offset pagination.
module Gitlab
module Graphql
module Pagination
class ArrayConnection < ::GraphQL::Pagination::ArrayConnection
prepend ::Gitlab::Graphql::ConnectionRedaction
include ::Gitlab::Graphql::ConnectionCollectionMethods
end
end
end
end
|