BindingResult support for constructor argument mismatch on immutable data object [SPR-15542] #20101
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
Kazuki Shimizu opened SPR-15542 and commented
I've tried the the request data binding feature for immutable object. It's work fine. However binding error(such as type conversion error) can not handle using the
BindingResult
as follow:A validation error(e.g.
name
parameter isnull
) can handle above implementation.print on console as follow:
However a binding error(e.g.
baseDate
parameter is nonexistence date) can not handle above implementation.Is specification this behavior ?
Affects: 5.0 RC1
Reference URL: #19763
Issue Links:
@ConstructorProperties
)Referenced from: commits 61cdc84
The text was updated successfully, but these errors were encountered: