• 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
..
src Loading commit data...
pom.xml Loading commit data...