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

Store and apply decoder per command in a Transaction #2147

Open
2 tasks done
Yury-Fridlyand opened this issue Aug 16, 2024 · 0 comments
Open
2 tasks done

Store and apply decoder per command in a Transaction #2147

Yury-Fridlyand opened this issue Aug 16, 2024 · 0 comments

Comments

@Yury-Fridlyand
Copy link
Collaborator

Describe the feature

Currently, string decoder option could be applied to the entire response from redis-rs. In case of transaction, the decoder applied to responses of all commands in the transaction.
In this feature we need to add option to set a decoder per each command in transaction.

Use Case

new Transaction().set(key).dump(key);

Such transaction could be properly executed with a binary decoder rigth now, so a user will never see OK response from set command ([0x4F, 0x4B]).

Having this feature implemented a user will be able to combine different types of decoder for commands in a single transaction.

Applicable to all clients.

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

Client version used

1.0

Environment details (OS name and version, etc.)

N/A

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

No branches or pull requests

1 participant