Details
Description
We now have 'background' as an option as well as 'full', so the shell helper needs to be updated not to accept just a raw boolean that is currently interpreted as value for the 'full' setting.
The function parameter should be named something like 'opts' instead of 'full', and any callers just specifying a boolean value must be updated.
Attachments
Issue Links
- is documented by
-
DOCS-13058 Investigate changes in SERVER-43644: validate() in shell/collections.js should only accept an object, not also a boolean which is interpreted as the 'full' option
-
- Closed
-
- is related to
-
MONGOSH-925 Align db.coll.validate() argument with legacy shell
-
- Closed
-