-
Notifications
You must be signed in to change notification settings - Fork 1k
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
HMSET deprecated in version 4.0.0 #1217
Comments
Thanks for the hint. It makes sense to reflect these changes in our API and introduce |
I'm getting errors after generating. When I run the generator on the |
You might want to revert all touched classes except the Hash-related ones. |
Thank you for your contribution. That's merged, polished, and forwardported now. |
Glad to be of help. |
HMSET
has been considered deprecated since Redis 4.0.0. InsteadHSET
is variadic and returns the number of fields added.I'd expect to be able to use
HSET
throughlettuce
with multiple key/value pairs. Looking at the code the obvious solutions seems to be addingString hset(K key, Map<K, V> map);
to the api (along with the async and reactive equivalents). When executed against Redis servers <4.0.0 the error property on the command output would be set to what Redis throws on older versions.The text was updated successfully, but these errors were encountered: