Class: GraphitiGql::Schema::ToManyConnection

Inherits:
Connection
  • Object
show all
Defined in:
lib/graphiti_gql/schema/connection.rb

Instance Method Summary collapse

Methods inherited from Connection

#cursor_for, #has_next_page, #has_previous_page, #proxy

Instance Method Details

#nodesObject



48
49
50
51
52
53
54
# File 'lib/graphiti_gql/schema/connection.rb', line 48

def nodes
  return @items if @run_once
  @proxy = @items[1]
  @items = @items[0]
  @run_once = true
  @items
end