• Stephane Nicoll's avatar
    Extract BindingResult if necessary · 26633533
    Stephane Nicoll authored
    Previously, no `errors` attribute is made available in the standard JSON
    error document if a request body object is invalid. This is due to the
    fact that the framework throws a `MethodArgumentNotValidException holding
    a `BindingResult` object that was not detected.
    
    We now make sure to extract the `BindingResult` from such exception.
    
    Closes gh-4166
    26633533
Name
Last commit
Last update
docs Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-docs Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-deployment-tests Loading commit data...
spring-boot-devtools Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-tools Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
pom.xml Loading commit data...