Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow overriding ThemeResolver and FlashMapManager beans
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
- Loading branch information
1 parent
cca8a38
commit ef7a827
Showing
2 changed files
with
91 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters