• Andy Wilkinson's avatar
    Exclude property beans from method validation · f60f3cb3
    Andy Wilkinson authored
    Exclude `@ConfigurationProperties` beans from method validation so
    that `@Validated` can be used on final classes without the method
    validation post-processor throwing an exception.
    
    This commit introduces a `FilteredMethodValidationPostProcessor` class
    which will use `MethodValidationExcludeFilters` to exclude beans from
    method validation processing. Using `@EnableConfigurationProperties`
    will automatically register an appropriate filter.
    
    Closes gh-21454
    f60f3cb3
Name
Last commit
Last update
..
spring-boot-deployment-tests Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-smoke-tests Loading commit data...