Skip to content
RED SAGSkills
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 }
  }
}
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions