-
Type: Task
-
Resolution: Cannot Reproduce
-
Priority: Major - P3
-
Affects Version/s: 5.0.1
-
Labels:None
The documentation is missing the required configuration for a local cluster with a default setup (.mongo.conf) to provide detailed schema validation errors. This is preventing us from using it on our local environments for development.
We are trying to leverage MongoDB v5's detailed validation messages for schemas (as per described at https://docs.mongodb.com/manual/core/schema-validation/#behavior). To test it out, we are just copy/pasting the example on the cited link. And while it works on our Atlas cluster, it doesn't show the error details on our local development servers (using the same version of `mongod` and `mongosh`, 5.0.1 and 1.0.1 respectively).