Skip to content

fix(commands): sPopCount return Array<string> #3006

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

Merged
merged 1 commit into from
Jun 25, 2025

Conversation

nkaradzhov
Copy link
Collaborator

fix sPopCount return type - should be an array instead of string | null

Also, touch the tests for sPop and sPopCount to use the new parseCommand API

fixes #3004

Checklist

  • Does npm test pass with this change (including linting)?
  • Is the new or changed code fully tested?
  • Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?

Also, touch the tests for spop and spopcount
to use the new parseCommand API

fixes redis#3004
Copy link
Contributor

@PavelPashov PavelPashov left a comment

Choose a reason for hiding this comment

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

LGTM

@nkaradzhov nkaradzhov merged commit 742d571 into redis:master Jun 25, 2025
14 checks passed
@nkaradzhov nkaradzhov deleted the fix-spopcount-return-type branch June 25, 2025 10:15
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.

[v5]spop and sPopCount types are incorrect
4 participants