Skip to content
RED SAG Skills
mediumStudy question · answer published in REST API interview questions, so no pointsapi-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