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

Commands should error on missing/invalid parameters

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Major Change
    • Operating System:
      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

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

                Dates

                Created:
                Updated: