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

Add support for reverse pagination #623

Merged
merged 1 commit into from
Oct 29, 2019
Merged

Add support for reverse pagination #623

merged 1 commit into from
Oct 29, 2019

Conversation

ob-stripe
Copy link
Contributor

r? @brandur-stripe
cc @stripe/api-libraries

Add support for backwards auto-pagination, and generally improves ListObject's code by making it closer to the Ruby / PHP implementations.

Fixes #585.

Copy link
Contributor

@brandur-stripe brandur-stripe left a comment

Choose a reason for hiding this comment

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

Arg, sorry about the delay here OB! It came in right as I was leaving for a few weeks, and I didn't quite get to it in time.

Thanks for the proactive work on this one, and keeping the implementation very similar to Ruby's so that we don't need to understand two different implementations! Looks great.

@ob-stripe ob-stripe merged commit 036f258 into master Oct 29, 2019
@ob-stripe ob-stripe deleted the ob-improve-list branch October 29, 2019 23:19
@ob-stripe
Copy link
Contributor Author

Released as 2.38.0.

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

Successfully merging this pull request may close these issues.

Feature request: auto_paging_iter() using ending_before
3 participants