Hello everyone, I have a question regarding config...
# exposed
h
Hello everyone, I have a question regarding configuring Exposed in Spring Boot project. The README recommends customizing the default Exposed configuration and excluding the DataSourceTransactionManager auto-configuration, for example:
Copy code
kotlin


@ImportAutoConfiguration(
    value = [ExposedAutoConfiguration::class],
    exclude = [DataSourceTransactionManagerAutoConfiguration::class]
)
However, if we add the spring-boot-starter dependency via Gradle using
implementation
, ExposedAutoConfiguration is applied automatically. In that case, is it still necessary to explicitly add
@ImportAutoConfiguration(ExposedAutoConfiguration::class)
, or is it optional? Could someone clarify the best practice for this? Thanks in advance!