Q26: What is the Relay Cursor Connections Specification?
A standardized schema structure for paginating lists using cursors. It wraps list responses in edges and pageInfo metadata types.
Key components:
edges: List containing node data and its uniquecursorstring.pageInfo: Flags (hasNextPage,hasPreviousPage) and boundary cursors (startCursor,endCursor).
Key Takeaways
Relay specification structures paginated queries into
edges,node, andpageInfocomponents.
Knowledge Check
In the Relay Connection spec, which field on pageInfo tells the client if another page exists?