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

Open
wants to merge 27 commits into
base: main
Choose a base branch
from

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

@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 2 times, most recently from 60b64d0 to 7af772c Compare September 18, 2024 20:38
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 7af772c to da7bf93 Compare September 18, 2024 20:42
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 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

@@ -1205,7 +1310,10 @@ export async function transactionTest(
responseData.push(["zremRangeByLex(key8, -Inf, +Inf)", 0]); // key8 is already empty

if (gte(version, "7.0.0")) {
baseTransaction.zadd(key14, { one: 1.0, two: 2.0 });
baseTransaction.zadd(key14, [
Copy link
Collaborator

Choose a reason for hiding this comment

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

old API shold work as well, so you can keep both

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I suppose, but why?

Copy link
Collaborator

Choose a reason for hiding this comment

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

For coverage

@@ -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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants