Skip to content

Send BindingResult Errors in ResponseEntityExceptionHandler [SPR-13183] #17775

@spring-projects-issues

Description

@spring-projects-issues

Chris Bonham opened SPR-13183 and commented

I propose adding the BindingResult errors in the entity response for these ResponseEntityExceptionHandler methods:

  • handleBindException()
  • handleMethodArgumentNotValid()

This will give the RESTful API caller more information when a 400 status is received.


Affects: 4.2 RC2

Issue Links:

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: declinedA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions