Pagination type other than 'page'?

Hi
Is it possible to use a pagination different from "paginationType": "page" in smart collections.
I see that Stripe module has a different pagination : "paginationType": "cursor".
Can I change the pagination to use keys instead of pages ?

Hi @Nicolas_S,
Welcome to the Forest community! :evergreen_tree::evergreen_tree::evergreen_tree:

It should be technically feasible to implement a cursor type pagination for your Smart Collection.
But I am afraid nothing is documented about it.

As far as I can remember you’ll have to deal with endingBefore, startingAfter parameters in your controllers (instead of the page one).

Did you try on your end?

It’s working now.

We had to set a smart collection with paginationType: 'cursor' and handle starting_after and ending_before in queries.