Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-7101

Commands should error on missing/invalid parameters

    XMLWordPrintable

Details

    • Major Change
    • ALL

    Description

      Errors should be returned for commands for the following conditions:

      • Missing (required) parameters (fields in bson docs)
      • Extra parameters not expected
      • Invalid types of the parameters

      The Command interface can be changed to enumerate the parameters expected, their types and if they are required.

      Attachments

        Issue Links

          Activity

            People

              backlog-server-platform DO NOT USE - Backlog - Platform Team
              scotthernandez Scott Hernandez
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: