provide detailed description why schema validation failed
currently if document failed to pass schema validation, there is no information WHY it's failed. if you have complex/lengthy schema validation, it's pretty hard to figure out what exactly the issue (for example, field may simple have different low/upper case, single/plural form, data type etc...
if mongo returns detailed error stack - it would simplify troubleshooting
5
votes
Sergey
shared this idea
-
Tracked by this ticket https://jira.mongodb.org/browse/SERVER-20547
Will be included in 5.0 release -
This is a really good idea, and it is currently in works!