Method: GraphQL::Pagination::Connection#after
- Defined in:
- lib/graphql/pagination/connection.rb
#after ⇒ String?
Returns the client-provided cursor. "" is treated as nil.
48 49 50 51 52 53 54 |
# File 'lib/graphql/pagination/connection.rb', line 48 def after if defined?(@after) @after else @after = @after_value == "" ? nil : @after_value end end |