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

[FEATURE] - Pagination in findAll for API FOOD #32

Closed
muriloalvesdev opened this issue Sep 22, 2020 · 3 comments
Closed

[FEATURE] - Pagination in findAll for API FOOD #32

muriloalvesdev opened this issue Sep 22, 2020 · 3 comments

Comments

@muriloalvesdev
Copy link

Problem:

  • The time to request a 'findAll' depends on the download capacity of the server that is consuming the information.

Solution

  • My suggestion is to add a pagination.
@GuiLeme
Copy link

GuiLeme commented Feb 12, 2022

It makes total sense, have you made any coding to pull request this change? I would like to see some.

@raulfdm
Copy link
Owner

raulfdm commented Apr 24, 2023

Thanks for raising this.

I'm currently working on a new version where it relies on GraphQL and in a proper database instead .json files.

Now it'll be easier to implement such features

@raulfdm
Copy link
Owner

raulfdm commented Apr 25, 2023

On v2, now you can request X amount of data:

Screenshot 2023-04-25 at 16 17 59

@raulfdm raulfdm closed this as completed Apr 25, 2023
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

3 participants