spring-data-redis
spring-data-redis copied to clipboard
Prevent HashOperations MultiGet from returning null values in the collection
This PR addresses issue #2309. It prevents the multi-get operation from returning null values inside the collection. This is an issue that can be very difficult to diagnose as it leads to stack traces without reference to the client code.
I've raised this PR against main for now. I expect it would be better going into 2.7.x, but happy to put it into another branch.
- [x ] You have read the Spring Data contribution guidelines.
- [ x] You use the code formatters provided here and have them applied to your changes. Don’t submit any formatting related changes.
- [x ] You submit test cases (unit or integration tests) that back your changes.
- [ x] You added yourself as author in the headers of the classes you touched. Amend the date range in the Apache license header if needed. For new types, add the license header (copy from another file and set the current year only).