summaryrefslogtreecommitdiff
path: root/lib/gitlab/graphql/pagination/offset_active_record_relation_connection.rb
blob: 33f847015620f10d7055e26d414ad9ba8c11b792 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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::Pagination::ActiveRecordRelationConnection
      end
    end
  end
end