Upgrade to SpringBoot 3.4.1 and dependencies #147
@ -132,7 +132,7 @@ public class RestResponseEntityExceptionHandler
|
|||||||
final HttpStatusCode status,
|
final HttpStatusCode status,
|
||||||
final WebRequest request) {
|
final WebRequest request) {
|
||||||
final var errorList = exc
|
final var errorList = exc
|
||||||
.getAllValidationResults() // FIXME: deprecated
|
.getParameterValidationResults()
|
||||||
.stream()
|
.stream()
|
||||||
.map(ParameterValidationResult::getResolvableErrors)
|
.map(ParameterValidationResult::getResolvableErrors)
|
||||||
.flatMap(Collection::stream)
|
.flatMap(Collection::stream)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user