medium10 pts · first answer countsapi-designgraphqlpagination
Paging through a GraphQL list
In the common GraphQL 'connection' pagination style, how does a client ask for the next page of orders?
query {
orders(first: 20, after: "Y3Vyc29yOjQw") {
edges { node { id total } cursor }
pageInfo { hasNextPage endCursor }
}
}Discussion 0
Join free to post in the discussion.
Related questions
- Response for a successful DELETEBackend Developer
- A product page removed for goodBackend Developer
- Signing up with a taken usernameBackend Developer
- Calling DELETE on a read-only routeBackend Developer
- A client posts XML to a JSON APIBackend Developer
- URL for one productBackend Developer
- Telling the client where the new item livesBackend Developer
- Filtering and sorting a listBackend Developer