-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Investigate splitting configuration and auto-configuration #15738
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
The |
I like the |
We don't think this is worth pursuing at this time. Splitting the code in this manner will roughly double the number of classes that are involved in auto-configuring a component. The costs of this (increased memory usage, slower startup time) will outweigh the benefits. |
Uh oh!
There was an error while loading. Please reload this page.
Currently
spring-boot-autoconfigure
contains quite a bit of code that would also be useful if manually configuring and application. For example, we have many*Properties
classes and functions that map them. We should investigate if splitting out aspring-boot-configure
module would be worthwhile.This new module would be particularly useful for projects like https://github.com/spring-projects/spring-fu since it would allow them to call well designed public configuration APIs, rather than trying to work with the existing auto-configuration classes which were never really designed to be called directly.
The text was updated successfully, but these errors were encountered: