Skip to content

Commit 09e0505

Browse files
authored
CHA-1626: add sentence to explain that last page can be empty (#1118)
Co-authored-by: Florian HEGRON <>
1 parent 1b4285b commit 09e0505

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

content/graphql/common-notions.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,10 @@ By passing this value to the `page` argument in the next query, the result of th
130130
The result should show a max of 5 new results with potentially a new value for the `next` attribute.
131131
When no more pages are available, the `next` value is set to `null`.
132132

133+
It's possible to get a page with no results. For example, if you use a `limit` of 5 and you get the third page, the
134+
`next` field will be filled with the identifier of the last item of the page. If you use this identifier to get the fourth page,
135+
you will get an empty list of items (and the `next` field will be `null`).
136+
133137
## Aliasing fields in response
134138

135139
Aliases in GraphQL provide a way to:

0 commit comments

Comments
 (0)