just stumbled onto this article: Improved Error Messages for Schema Validation in MongoDB 5.0.
…that basically promises improved error messages when jsonSchema validation fails in Mongo 5.?.
This sounds really awesome and we can’t wait for this to be improved
Tried MongoDB 5.0.8 locally with the newest pymongo drivers and the errors are still very general.
Sadly the linked form to participate in the beta program says:
Sorry, this survey is not currently active.
Any idea how to start testing this cool stuff?