spring-projects / spring-projects/spring-session
Allow Serialization based on session attribute name in Redis
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.9k
- Forks
- 1.2k
- Avg merge
- 4h 27m
- Merged PRs (30d)
- 55
Description
This is a brain storm on how to handle https://github.com/spring-projects/spring-session/issues/348#issuecomment-181205839
For example, a org.springframework.core.convert.converter.Converter<Map<String,Object>,Map<byte[],byte[]>> could be used to prior to saving the delta. Then the we could provide a org.springframework.core.convert.converter.Converter<Map<byte[],byte[]>,Map<String,Object>> to convert back to the objects just after we load the data.
This would mean users could provide a mapping of session attribute name to the object rather than having to include class names in the serialization data.
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 reading RedisOperationsSessionRepository.java at the referenced load-data location and the linked commit where the session delta is saved. The issue is a brainstorming proposal, so a contributor would first need an agreed design for attribute-name-based converters; completion criteria are not defined in the report.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, redis, spring
- Domain
- backend, databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100