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

[validation] spring.factories EnableAutoConfiguration key for boot 3.0 ignores 'on' setting #917

Closed
BoykoAlex opened this issue Dec 6, 2022 · 1 comment
Assignees
Labels
for: eclipse something that is specific for Eclipse for: vscode something that is specific for VSCode theme: refactoring type: enhancement

Comments

@BoykoAlex
Copy link
Contributor

The org.springframework.boot.autoconfigure.EnableAutoConfiguration key is gone as of boot 3.
There is validation for this key found in spring.factories file. However, it only follows its default setting AUTO. In other words it is flagged if found in a Boot 3 project. There are also settings ON and OFF:

  • ON would flag it in any boot project not just 3.x
  • OFF would not show this error.

It appears ON and OFF support is missing.

@BoykoAlex BoykoAlex self-assigned this Dec 6, 2022
@martinlippert martinlippert added type: enhancement for: eclipse something that is specific for Eclipse for: vscode something that is specific for VSCode theme: refactoring and removed status: waiting-for-triage type: bug labels Dec 7, 2022
@martinlippert martinlippert added this to the 4.17.1.RELEASE milestone Dec 7, 2022
@BoykoAlex
Copy link
Contributor Author

Fixed with ae43ae9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: eclipse something that is specific for Eclipse for: vscode something that is specific for VSCode theme: refactoring type: enhancement
Projects
None yet
Development

No branches or pull requests

2 participants