You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed with @rwinch today, we could consider making FindByIndexNameSessionRepository a standalone interface. At present, it extends SessionRepository.
Some of the relevant points that we discussed:
users are encouraged to interact with sessions using their web framework's native session facilities (that is, Servlet's HttpSession of Spring WebFlux's WebSession) which means direct interaction with SessionRepository operations is not a common use case
OTOH FindByIndexNameSessionRepository operations are Spring Session's own thing
mixed usage of SessionRepository and FindByIndexNameSessionRepository isn't a common thing (Spring Boot's Actuator sessions endpoint is an outlier here) which means user impact from having latter not extend the former any more is expected to be insignificant
having FindByIndexNameSessionRepository as standalone allows users to implement their own indexing support without having to use a non-default SessionRepository implementation (for example, RedisSessionRepository vs RedisIndexedSessionRepository consideration)
As discussed with @rwinch today, we could consider making
FindByIndexNameSessionRepository
a standalone interface. At present, it extendsSessionRepository
.Some of the relevant points that we discussed:
HttpSession
of Spring WebFlux'sWebSession
) which means direct interaction withSessionRepository
operations is not a common use caseFindByIndexNameSessionRepository
operations are Spring Session's own thingSessionRepository
andFindByIndexNameSessionRepository
isn't a common thing (Spring Boot's Actuator sessions endpoint is an outlier here) which means user impact from having latter not extend the former any more is expected to be insignificantFindByIndexNameSessionRepository
as standalone allows users to implement their own indexing support without having to use a non-defaultSessionRepository
implementation (for example,RedisSessionRepository
vsRedisIndexedSessionRepository
consideration)The text was updated successfully, but these errors were encountered: