gitlab-org--gitlab-foss/lib/gitlab/graphql/pagination/offset_active_record_relati...

14 lines
404 B
Ruby
Raw Normal View History

# 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 OffsetActiveRecordRelationConnection < GraphQL::Relay::RelationConnection
end
end
end
end