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

Auto iteration on paginated queries by Limit.ALL parameter is not functional #22

Open
o0Maikeru0o opened this issue Feb 5, 2024 · 0 comments

Comments

@o0Maikeru0o
Copy link

The remainingLimit calculation in the get method of the ApiClient always returns a negative number when the Limit.ALL (-1) is provided thus hitting the break condition before fetching the remaining pages. The calculation works for when a limit is provided that exceeds Limit.MAX_LIMIT (250) so I am currently getting around this issue by providing a limit that far exceeds what I would expect to be returned (10,000)

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

1 participant