Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetAll paging? #11

Open
allenfuller opened this issue Jul 22, 2024 · 1 comment
Open

GetAll paging? #11

allenfuller opened this issue Jul 22, 2024 · 1 comment

Comments

@allenfuller
Copy link

This library looks great and excited to look into it more.

With GetAll, is there a paging function, i.e. only returns 25 items at a time, or would that be something we would just add inside the route action?

@maka-io
Copy link
Owner

maka-io commented Jul 22, 2024

Hey @allenfuller ! Thanks for taking the time to check out this library!

Much apologies, I adapted this project from Restivus and have not updated the documentation completely enough. This package no longer supports the addCollection method like Restivus. It was adding a lot of confusion in every project I ever used it in.

So as far as the GetAll method, you'd need to add that in the addRoute and add it to your data model access.

I've updated the README a little to no longer show that feature. Again, apologies!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants