• Phillip Webb's avatar
    Use `@Validated` as trigger for JSR-330 validation · 10dbf3c5
    Phillip Webb authored
    Update `ConfigurationPropertiesBindingPostProcessor` so that
    `@Validated` is expected to be used to trigger JSR-330 validation.
    
    Any existing configuration classes that use JSR-330 annotations but
    don't have `@Validated` will currently still be validated, but will
    now log a warning. This should give users a chance to add the requested
    annotations before the next Spring Boot release where we will use them
    as the exclusive signal that validation is required.
    
    Closes gh-7579
    10dbf3c5
Name
Last commit
Last update
..
.gitignore Loading commit data...
Guardfile Loading commit data...
appendix-application-properties.adoc Loading commit data...
appendix-auto-configuration-classes.adoc Loading commit data...
appendix-configuration-metadata.adoc Loading commit data...
appendix-dependency-versions.adoc Loading commit data...
appendix-executable-jar-format.adoc Loading commit data...
appendix-test-auto-configuration.adoc Loading commit data...
appendix.adoc Loading commit data...
build-tool-plugins.adoc Loading commit data...
deployment.adoc Loading commit data...
documentation-overview.adoc Loading commit data...
getting-started.adoc Loading commit data...
howto.adoc Loading commit data...
index-docinfo.xml Loading commit data...
index.adoc Loading commit data...
production-ready-features.adoc Loading commit data...
spring-boot-cli.adoc Loading commit data...
spring-boot-features.adoc Loading commit data...
using-spring-boot.adoc Loading commit data...