Method: GraphQL::Types::Relay::ConnectionBehaviors::ClassMethods#nodes_field

Defined in:
lib/graphql/types/relay/connection_behaviors.rb

#nodes_field(node_nullable: self.node_nullable, field_options: nil) ⇒ Object

Add the shortcut nodes field to this connection and its subclasses



114
115
116
# File 'lib/graphql/types/relay/connection_behaviors.rb', line 114

def nodes_field(node_nullable: self.node_nullable, field_options: nil)
  define_nodes_field(node_nullable, field_options: field_options)
end