spring-cloud-commons icon indicating copy to clipboard operation
spring-cloud-commons copied to clipboard

Revise usage of @EnableConfigurationProperties

Open quaff opened this issue 11 months ago • 0 comments

  1. use @EnableConfigurationProperties to register configuration properties beans if the bean name is not relevant.
  2. remove @EnableConfigurationProperties without specified value if the @Configuration class doesn't contain any @ConfigurationProperties bean.

quaff avatar Feb 05 '25 08:02 quaff