• Andy Wilkinson's avatar
    Do not ignore unknown fields when invalid fields are being ignored · 1b48daf1
    Andy Wilkinson authored
    Previously, ignoring invalid fields would cause the failure for an
    unknown field to be ignored, irrespective of the ignoreUnknownFields
    attribute on `@ConfigurationProperties`.
    
    This commit updates the NoUnboundElementsBindHandler to ensure that
    any UnboundConfigurationPropertiesException is thrown rather than
    being ignored when the handler has been wrapped by an
    IgnoreErrorsBindHandler.
    
    Fixes gh-22308
    1b48daf1
Name
Last commit
Last update
.bomr Loading commit data...
.github Loading commit data...
.mvn Loading commit data...
ci Loading commit data...
eclipse Loading commit data...
git/hooks Loading commit data...
idea Loading commit data...
spring-boot-project Loading commit data...
spring-boot-tests Loading commit data...
src/checkstyle Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
SUPPORT.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...