This allows the user to override which DataSource to use for Pre-Liquibase while still using auto-configuration for everything else.
It is probably a corner case which I'm not sure will ever be used. If the user has this need then it is likely because the application uses multiple data sources. In such scenario the user will in any case need to configure many beans manually and forego of Spring Boot's auto-configuration mechanism completely.
This allows the user to override which DataSource to use for Pre-Liquibase while still using auto-configuration for everything else.
It is probably a corner case which I'm not sure will ever be used. If the user has this need then it is likely because the application uses multiple data sources. In such scenario the user will in any case need to configure many beans manually and forego of Spring Boot's auto-configuration mechanism completely.