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: update transactions binary args returns #2193

Conversation

acarbonetto
Copy link
Collaborator

@acarbonetto acarbonetto commented Aug 23, 2024

Updates transaction tests to run with decoder string or bytes.

Testing was responsible for finding: #2325

@Yury-Fridlyand Yury-Fridlyand added the node Node.js wrapper label Aug 26, 2024
@acarbonetto acarbonetto force-pushed the node/acarbo_update_transactions_binary_args_returns branch 2 times, most recently from d9ce867 to 2e9f3b1 Compare September 12, 2024 20:04
node/tests/GlideClient.test.ts Outdated Show resolved Hide resolved
node/src/Transaction.ts Outdated Show resolved Hide resolved
node/src/Transaction.ts Outdated Show resolved Hide resolved
@acarbonetto acarbonetto force-pushed the node/acarbo_update_transactions_binary_args_returns branch 3 times, most recently from 7af772c to da7bf93 Compare September 18, 2024 20:42
@acarbonetto acarbonetto marked this pull request as ready for review September 19, 2024 00:03
@acarbonetto acarbonetto requested a review from a team as a code owner September 19, 2024 00:03
member7,
palermo,
catania,
] = [
Copy link
Collaborator

Choose a reason for hiding this comment

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

What is the benefit of that? It just takes twice more locs

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

because of the formatter... but it's fewer characters of code ;)

node/tests/TestUtilities.ts Show resolved Hide resolved
@@ -1681,7 +1823,11 @@ export async function transactionTest(
responseData.push(["functionList({ libName, true})", []]);

baseTransaction
.mset({ [key1]: "abcd", [key2]: "bcde", [key3]: "wxyz" })
.mset([
Copy link
Collaborator

Choose a reason for hiding this comment

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

same here

@avifenesh
Copy link
Collaborator

Relevant?

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. Please address outstanding comments.

Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
@acarbonetto acarbonetto force-pushed the node/acarbo_update_transactions_binary_args_returns branch from fdb860a to 8ccb2d7 Compare December 11, 2024 01:47
Signed-off-by: Andrew Carbonetto <[email protected]>
@acarbonetto acarbonetto merged commit a5e3aea into valkey-io:main Dec 11, 2024
19 checks passed
@yipin-chen yipin-chen deleted the node/acarbo_update_transactions_binary_args_returns branch December 11, 2024 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
node Node.js wrapper
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants