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

Fix for pagination API retrieval #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

blackmolly
Copy link

Fixes the API retrieval to avoid endless API calls

@CLAassistant
Copy link

CLAassistant commented Jan 3, 2025

CLA assistant check
All committers have signed the CLA.

@nassibnassar
Copy link
Contributor

The last I checked, most modules would load the requested records into memory, so that requesting all records at once could crash the service.

@blackmolly
Copy link
Author

Some FOLIO endpoints return the number of records. In some endpoints, it seems that you can request more records(offset) than the ones indicated, contributing to endless code running and API calls

@nassibnassar
Copy link
Contributor

If I understand correctly, the problem endpoints would need a solution that does not break other, currently working endpoints.

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

Successfully merging this pull request may close these issues.

3 participants