spring-projects / spring-projects/spring-session
Add Converter to RedisOperationsSessionRepository
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.9k
- Forks
- 1.2k
- Avg merge
- 4h 27m
- Merged PRs (30d)
- 55
Description
It would be nice if RedisOperationsSessionRepository had two Converter<Map<String,Object> injected into it.
The first would be ran just prior to saving the delta of the session attributes. This would allow custom serialization based on the keys.
The second would be ran just after reading in the session. This would allow custom deserialization based on the keys.
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.
Research direction
Start by locating RedisOperationsSessionRepository and trace where session-attribute deltas are saved and sessions are read. Confirm how Converter<Map<String,Object>> instances could be injected and invoked at those two points; done means custom key-based serialization and deserialization are supported without changing unrelated session behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, redis, spring
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100