mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-27 20:49:34 +00:00
Previously, an error would occur when a user contributed a `ThemeResolver` or `FlashMapManager` bean because those beans would would not properly override the default beans provided by Spring Framework. This commit adds conditional auto-configuration of these bean types, preferring user-provided beans and falling back to Framework-provided defaults. Fixes gh-24207