Skip to content

Node: add BZMPOP command - #2018

Merged
Yury-Fridlyand merged 7 commits into
valkey-io:mainfrom
Bit-Quill:node/integ_guiang_bzmpop_valkey-37
Jul 26, 2024
Merged

Yury-Fridlyand merged 7 commits into
valkey-io:mainfrom
Bit-Quill:node/integ_guiang_bzmpop_valkey-37

Conversation

@GumpacG

@GumpacG GumpacG commented Jul 25, 2024

Copy link
Copy Markdown
Contributor

@GumpacG
GumpacG requested a review from a team as a code owner July 25, 2024 19:56
Comment thread node/src/BaseClient.ts Outdated
Comment thread node/src/BaseClient.ts Outdated
Comment thread node/src/Transaction.ts
Comment thread node/src/Commands.ts
modifier,
];

if (count !== undefined) {

Copy link
Copy Markdown
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
Copy Markdown
Contributor 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.

@yipin-chen yipin-chen left a comment

Copy link
Copy Markdown
Collaborator

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

Comment thread node/src/BaseClient.ts Outdated
Comment thread node/src/BaseClient.ts
Comment thread node/src/BaseClient.ts Outdated
Comment thread node/src/BaseClient.ts
Comment thread node/src/Transaction.ts
Comment thread node/tests/SharedTests.ts
Comment thread node/tests/SharedTests.ts
Comment thread node/tests/SharedTests.ts
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
Comment thread node/src/Transaction.ts Outdated
Co-authored-by: Aaron <69273634+aaron-congo@users.noreply.github.com>
Signed-off-by: Guian Gumpac <guian.gumpac@improving.com>
Comment thread node/src/BaseClient.ts Outdated
Comment thread node/src/Transaction.ts Outdated
Signed-off-by: Guian Gumpac <guian.gumpac@improving.com>
@Yury-Fridlyand
Yury-Fridlyand merged commit 33016aa into valkey-io:main Jul 26, 2024
@Yury-Fridlyand
Yury-Fridlyand deleted the node/integ_guiang_bzmpop_valkey-37 branch July 26, 2024 00:25
affonsov pushed a commit that referenced this pull request Aug 21, 2026
* Added BZMPOP command.

Signed-off-by: Guian Gumpac <guian.gumpac@improving.com>
Co-authored-by: Aaron <69273634+aaron-congo@users.noreply.github.com>
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