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 to (Left|Right) Pop N elements using ReactiveListOperations #2692

Closed
ericsouza opened this issue Aug 29, 2023 · 1 comment
Closed
Assignees
Labels
type: enhancement A general enhancement

Comments

@ericsouza
Copy link

Hey, thanks for this amazing library!

I was converting my blocking ListOperations that uses a leftPop(key, count) to a reactive version. But it seems that the ReactiveListOperations does not have an option to pop N elements. Is there any reason for that?

@ericsouza ericsouza changed the title Pop N elements using ReactiveListOperation Pop N elements using ReactiveListOperations Aug 29, 2023
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Aug 29, 2023
@mp911de
Copy link
Member

mp911de commented Aug 29, 2023

Seems like an oversight on our end. leftPop was introduced with version 2.6.0, there is even a lPop method on the list connection commands interface.

@mp911de mp911de added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Aug 29, 2023
@mp911de mp911de changed the title Pop N elements using ReactiveListOperations Add support to (Left|Right) Pop N elements using ReactiveListOperations Aug 29, 2023
jxblum added a commit to jxblum/spring-data-redis that referenced this issue Sep 7, 2023
jxblum added a commit to jxblum/spring-data-redis that referenced this issue Sep 8, 2023
@mp911de mp911de added this to the 3.2 M3 (2023.1.0) milestone Sep 12, 2023
mp911de added a commit that referenced this issue Sep 12, 2023
Reorder methods to align with ListOperations. Simplify tests to avoid test noise.

See #2692
Original pull request: #2704
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
4 participants