Replies: 1 comment
-
The built-in supported It's certainly possible to do it but there's nothing "out of the box" in this library. Cursor based pagination usually means you've a key / some keys which you take from your last element of your result and use it to construct the next page cursor value and then just return this with your payload. Additionally, to avoid users playing around too much with those cursor keys, I encrypt them so they just can't change values as they like. |
Beta Was this translation helpful? Give feedback.
-
Is there cursor pagination support? I thought there might be, but I can not see it anywhere...
It is said to be the "best" pagination type in the official graphql docs
https://graphql.org/learn/pagination/
Beta Was this translation helpful? Give feedback.
All reactions