Uploaded image for project: 'Documentation'
  1. Documentation
  2. 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

    XMLWordPrintableJSON

Details

    Description

      Description

      Downstream Change Summary

      In v4.2, the validate() shell helper took a boolean that was interpreted as the value for the 'full' parameter of the validate cmd.

      Now in v4.4, the validate() shell helper accepts an object parameter, in which {full: <bool>, background: <bool>} can be explicitly specified.

      Valid calls:
      validate()
      validate({})
      validate({full: false, background: true})

      Description of Linked Ticket

      Code in question.

      Scope of changes

      Update validate and cmd for new format.

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              3 years, 33 weeks, 1 day ago