• 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
..
main Loading commit data...
test/java/smoketest/simple Loading commit data...