You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a question about result pagination cursor. I used to return in my API direct information whether we have more items to paginate. I see that inside Paginate there is a hasMore variable, but it doesn't returned with cursor information.
What do you think about adding it to cursor information or is there any way to undestand whether we have next page?
The text was updated successfully, but these errors were encountered:
Hi @cyberbudy, actually hasMore information is already aggregated into the cursor. When you get a nil value of after cursor, it means that there is no next page. And same for before cursor but in different direction, nil means no previous page.
Hi, thanks for a great library
I have a question about result pagination cursor. I used to return in my API direct information whether we have more items to paginate. I see that inside
Paginate
there is ahasMore
variable, but it doesn't returned with cursor information.What do you think about adding it to cursor information or is there any way to undestand whether we have next page?
The text was updated successfully, but these errors were encountered: