Skip to content

feat: implement RedisSessionRepository and RedisIndexedSessionReposit…#3859

Open
devsarthak2005 wants to merge 1 commit into
spring-projects:mainfrom
devsarthak2005:fix-nullable-redis-session-mapper
Open

feat: implement RedisSessionRepository and RedisIndexedSessionReposit…#3859
devsarthak2005 wants to merge 1 commit into
spring-projects:mainfrom
devsarthak2005:fix-nullable-redis-session-mapper

Conversation

@devsarthak2005

Copy link
Copy Markdown

This change annotates the BiFunction return type of redisSessionMapper as nullable.

The implementation already supports null values in getSession(), but the public API
currently exposes a non-null return type, preventing Kotlin users from supplying
custom mappers that return null.

This change restores Kotlin interoperability while preserving the existing behavior.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jul 4, 2026
Signed-off-by: Sarthak Borse <borsesarthak33@gmail.com>
@devsarthak2005 devsarthak2005 force-pushed the fix-nullable-redis-session-mapper branch from 9ecb8a9 to b40838e Compare July 4, 2026 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants