lib/rails/graphql/collectors/hash_collector.rb
def next
          return unless @stack.last.is_a?(Array)
          @stack.last << @data
          @data = {}
        end
# Mark the start of a new element on the array.
Mark the start of a new element on the array.
Mark the start of a new element on the array .
def next
          return unless @stack.last.is_a?(Array)
          @stack.last << @data
          @data = {}
        end
def next return unless @stack . last . is_a? ( Array ) @stack . last << @data @data = { } end
Mark the start of a new element on the array.
Mark the start of a new element on the array .