Reference Documentation: instruct how RestTemplate should handle the errors thrown about @Validated (JSR 303/349) [SPR-14724] #19289
Labels
in: test
Issues in the test module
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: documentation
A documentation task
Milestone
Manuel Jordan opened SPR-14724 and commented
Hello
In the current Reference Documentation, for the 28.10 Accessing RESTful services on the Client section.
Why not add a section about how
RestTemplate
should handle the errors thrown by validation (JSR 303/349)?. It when a@Controller
for Rest is using @Validated. Consider cover the testing scenarios too.I have seen some tutorials but seems the developer must write his own code. Even more, I did realise exists many approaches, in some way verbose until some point.
Therefore just curious what is the best approach recommended by the source (Spring Reference documentation) with the current version
4.3.2
and 5 coming, just curious if the API is friendly for this.Thanks by your understanding.
Affects: 4.3 GA, 4.3.1, 4.3.2, 5.0 M1
The text was updated successfully, but these errors were encountered: