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

Node: add BZMPOP command #2018

Merged

Conversation

GumpacG
Copy link
Collaborator

@GumpacG GumpacG commented Jul 25, 2024

@GumpacG GumpacG requested a review from a team as a code owner July 25, 2024 19:56
node/src/BaseClient.ts Outdated Show resolved Hide resolved
node/src/BaseClient.ts Outdated Show resolved Hide resolved
modifier,
];

if (count !== undefined) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
if (count !== undefined) {
if (count) {

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We can do that with non-number types however, we can't do that with number types because it can be 0 which would be treated as false and behaves differently.

Copy link
Collaborator

@yipin-chen yipin-chen left a comment

Choose a reason for hiding this comment

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

LGTM - with few minor comments

node/src/BaseClient.ts Outdated Show resolved Hide resolved
node/src/BaseClient.ts Show resolved Hide resolved
node/src/BaseClient.ts Outdated Show resolved Hide resolved
node/src/BaseClient.ts Show resolved Hide resolved
node/src/Transaction.ts Show resolved Hide resolved
node/tests/SharedTests.ts Show resolved Hide resolved
node/tests/SharedTests.ts Show resolved Hide resolved
node/tests/SharedTests.ts Show resolved Hide resolved
GumpacG added 5 commits July 25, 2024 15:47
Signed-off-by: Guian Gumpac <guian.gumpac@improving.com>
Signed-off-by: Guian Gumpac <guian.gumpac@improving.com>
Signed-off-by: Guian Gumpac <guian.gumpac@improving.com>
Signed-off-by: Guian Gumpac <guian.gumpac@improving.com>
Signed-off-by: Guian Gumpac <guian.gumpac@improving.com>
@GumpacG GumpacG force-pushed the node/integ_guiang_bzmpop_valkey-37 branch from 6085cd8 to b41712a Compare July 25, 2024 22:48
node/src/Transaction.ts Outdated Show resolved Hide resolved
Co-authored-by: Aaron <69273634+aaron-congo@users.noreply.github.com>
Signed-off-by: Guian Gumpac <guian.gumpac@improving.com>
node/src/BaseClient.ts Outdated Show resolved Hide resolved
node/src/Transaction.ts Outdated Show resolved Hide resolved
Signed-off-by: Guian Gumpac <guian.gumpac@improving.com>
@Yury-Fridlyand Yury-Fridlyand merged commit 33016aa into valkey-io:main Jul 26, 2024
8 checks passed
@Yury-Fridlyand Yury-Fridlyand deleted the node/integ_guiang_bzmpop_valkey-37 branch July 26, 2024 00:25
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.

4 participants