Description
Hi, this is a ideal-for-contribution
issue. This means we've worked to make it more legible to folks who don't haven't contributed much to our codebase before.
Problem
Redis 6.2 introduced a new command ZMSCORE
as variadic variant of ZSCORE
. We want to support this command in Spring Data Redis.
Solution
Add List<Double> score(K key, Object... o)
to ZSetOperations
and ReactiveZSetOperations
. The reactive API should return Mono<List<Double>>
. Add a score(Object…)
method to BoundZSetOperations
and make sure to implement the methods on the classes implementing the interfaces.
Extend the reactive and imperative command interfaces ReactiveZSetCommands
respective RedisZSetCommands
including DefaultedRedisConnection
. You will need to extend JedisClusterZSetCommands
, JedisZSetCommands
, and LettuceZSetCommands
.
AbstractConnectionIntegrationTests
is the main test class for connection-related tests.
See also https://redis.io/commands/zmscore for further information.
Steps to Fix
- Claim this issue with a comment below and ask any clarifying questions you need
- Set up a repository locally following the Contributing Guidelines
- Try to fix the issue following the steps above
- Commit your changes and start a pull request