Bug or feature request
Description of feature (or steps to reproduce if bug)
When I update model relation with invalid date, whole API is crash
Eg: I have Customer model and Customer has many Campaign model, Campaign model have startDate and endDate, when I call API to __updateById__campaigns with invalid date, crash my server
Link to sample repo to reproduce issue (if bug)
Expected result
Catch error and response status code 422
Actual result (if bug)
Crash server and response no content
Additional information (Node.js version, LoopBack version, etc)
Nodejs v6, Loopback v2.34.1
Bug or feature request
Description of feature (or steps to reproduce if bug)
When I update model relation with invalid date, whole API is crash
Eg: I have Customer model and Customer has many Campaign model, Campaign model have startDate and endDate, when I call API to __updateById__campaigns with invalid date, crash my server
Link to sample repo to reproduce issue (if bug)
Expected result
Catch error and response status code 422
Actual result (if bug)
Crash server and response no content
Additional information (Node.js version, LoopBack version, etc)
Nodejs v6, Loopback v2.34.1