summaryrefslogtreecommitdiff
path: root/lib/gitlab/graphql/pagination/offset_active_record_relation_connection.rb
blob: c852fbf0ab88efc81265931f7d6c04bbe3706365 (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::Relay::RelationConnection
      end
    end
  end
end