-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Deprecate @ConfigurationProperties#ignoreUnknownFields #12601
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
Comments
Trying to come up with a deprecated message for this, I think it would be more fair to deprecate it when we tackle #10030 |
I noticed that It seems that as soon as invalid fields are ignored, unknown fields are also ignored, no matter what the value of Since |
@thombergs We're going to fix the issue you mention in #22308 |
ignoreUnknownFields
allows to spot cases where a property on the target namespace was left unbound. It is an interesting feature with a serious limitation (#3445) that means we hardly use it in practice.We should consider deprecating it in the next feature release.
The text was updated successfully, but these errors were encountered: