summaryrefslogtreecommitdiff
path: root/lib/gitlab/graphql/connection_collection_methods.rb
blob: 0e2c4a98bb62eed18848d09b3b10ff7ca2f36336 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

module Gitlab
  module Graphql
    module ConnectionCollectionMethods
      extend ActiveSupport::Concern

      included do
        delegate :to_a, :size, :include?, :empty?, to: :nodes
      end
    end
  end
end