Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revise usage of @EnableConfigurationProperties #1463

Closed
wants to merge 1 commit into from

Conversation

quaff
Copy link
Contributor

@quaff quaff commented Feb 5, 2025

  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.

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.

Signed-off-by: Yanming Zhou <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants