Method: GraphQL::Pagination::Connection#range_add_edge
- Defined in:
- lib/graphql/pagination/connection.rb
#range_add_edge(item) ⇒ Edge
This is called by Relay::RangeAdd -- it can be overridden
when item needs some modifications based on this connection's state.
158 159 160 |
# File 'lib/graphql/pagination/connection.rb', line 158 def range_add_edge(item) edge_class.new(item, self) end |