spring-projects / spring-projects/spring-data-redis
Support different custom serializer for Map values [DATAREDIS-439]
@christophstrobl is already working on this.
Since Dec 30, 2020.
- Dominant language
- Java
- Stars
- 1.9k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
Rob Winch opened DATAREDIS-439 and commented
It would be nice if we could support a custom serializer for specific map values.
For example, in Spring Session it would be nice to allow writing Spring Security's SecurityContext using a custom JSON serialization strategy. However, if the user has not defined custom strategy for their custom object to be able to fall back to JDK serialization. It is likely the API will need to expose additional information in order to determine how to deserialize the values. For example, one might be able to use the key name to determine that JSON or JDK serialization should be used. Alternatively, one might use the value of another key to determine what type of serialization should be used
No further details from DATAREDIS-439
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.