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

PaginationIterator storing only one page at a time #524

Merged
merged 2 commits into from
Nov 17, 2023

Conversation

ecoologic
Copy link
Contributor

I'd rather tell users to not use iterator_to_array than to store all pages in memory and likely cause bigger issues.

**Note**:

* Refer to the documentation for the correct params for sorting with the pagination type you're using
* The helper method `iterator_to_array` doesn't work with this implementation
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd love to find out why, but I don't have time and it's hard for me to dig into that.

@ecoologic ecoologic marked this pull request as ready for review November 17, 2023 04:31
@ecoologic ecoologic requested review from 7ail and a team November 17, 2023 04:33
@ecoologic ecoologic merged commit d1f7c81 into master Nov 17, 2023
2 checks passed
@ecoologic ecoologic deleted the RED-1955-iterator-page branch November 17, 2023 04:38
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

Successfully merging this pull request may close these issues.

2 participants