-
Notifications
You must be signed in to change notification settings - Fork 41.3k
Rework Spring Session auto-configuration to use customizers #32554
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This commit reworks Spring Session auto-configuration to avoid extending Spring Session's configuration classes. Instead, those configuration classes are now imported and customization are applied using dedicated (Reactive)SessionRepositoryCustomizer beans.
On hold until we're ready to move to snapshots. |
Is there a rough estimate when the move to snapshots is expected to be unblocked? I'm asking because a lot of Spring Session's configuration infrastructure is set up the way it currently is because of reliance of Spring Boot's auto-configuration on inheritance, and the changes proposed here would allow Spring Session to evolve its configuration infrastructure. Having in mind the RCs are scheduled in just a little over 2 weeks from now, I'm trying to get a sense of the time we'll have to explore further improvements on Spring Session side. |
We're trying to figure that out at the moment. Right now, it's looking like Boot will switch to snapshots of all the Spring projects on which it depends on Thursday (6 October). |
Thanks. If the switch (and hopefully merge of this PR) happens by the end of this week, that would be great. |
This commit reworks Spring Session auto-configuration to avoid extending Spring Session's configuration classes. Instead, those configuration classes are now imported and customizations are applied using dedicated (Reactive)SessionRepositoryCustomizer beans. See gh-32554
This PR reworks Spring Session auto-configuration to avoid extending Spring Session's configuration classes. Instead, those configuration classes are now imported and customizations are applied using dedicated
(Reactive)SessionRepositoryCustomizer
beans.