Technical support is currently parsing the output of `mongo` explain plans. With mongosh we would cause a breaking change for them (the output would not be proper ejson due to missing quotes).
Their parser seems to accept ejson as input. We may want to either provide the same output as `mongo` for `.explain` or provide a convenient way to output ejson.
Note: the explain is usually run by customer and the output is then sent to TS.
From: https://mongodb.slack.com/archives/CUHC9R8J0/p1617684560022700
- is related to
-
NODE-3208 bson EJSON uses instanceof checks when it shouldn’t
- Closed
- related to
-
MONGOSH-671 Expose some useful modules through require
- Closed