Pagination

Learn how GraphQL pagination allows clients to control the amount of data they receive for each request.

An everyday use case in GraphQL is traversing the relationship between sets of objects. There are several different ways these relationships can be exposed in GraphQL, giving a varying set of capabilities to the client developer.

This lesson will teach you a few strategies to succesfully traverse this relationship in the GraphQL server.

Plurals

The easiest way to reveal a connection between objects is with a field that returns a plural type. For example, if we wanted to get a list of pizzas, we could ask for all of them.

Get hands-on with 1200+ tech skills courses.