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
The text was updated successfully, but these errors were encountered:
ghost
changed the title
How to use paginate function with other option parameters
How to use paginate function with custom option parameters
Oct 25, 2022
I want to be able to use function paginate, but being able to remain my current filters query params.
For instance, I have the following endpoint:
As you can see, I have added the option type over there...
But I cannot see this reflected on the links object when browsing in the api.
I would like to see it for example when applying the query params of type=fire:
"next": "http://localhost:3000/pokemons?page=2&limit=10&type=fire",
What am I doing wrong here?
The text was updated successfully, but these errors were encountered: