Browse Source
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-22308pull/23053/head
2 changed files with 28 additions and 0 deletions
Loading…
Reference in new issue