Compass
1 result found
-
Explain why "Document failed validation"
When saving a document fails, and the error "Document failed validation" is raised, it would be incredibly useful to know in what way the document does not match the validation schema.
There's a whole meme at my company about this error and the hours we waste chasing down the various causes.
Yes I'm aware of the "application validation" argument. We do it too. But we have big documents, big collections, and frequent schema migrations; there's going to be issues. Compass does not access MongoDb though our application, so it seems like the right place to be able to know "why".
…
11 votes
- Don't see your idea?