-
Enhancement
-
Resolution: Done
-
Minor
-
2.4
-
None
-
False
-
None
-
False
Using constructor injection instead of property injection helps to use AgroalDataSourceConfiguration to different kind of use cases. It also allows to better hide internal variables and make them immutable.
As already discussed, the class should also be renamed to AgroalDataSourceAutoConfiguration to better reflect Spring-Boot naming conventions of AutoConfiguration beans.