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

Add "command_name" field to IDL command syntax

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: IDL
    • None
    • Fully Compatible
    • Repl 2020-11-02, Repl 2020-11-16

      command_name: A string. Required for all IDL commands. Matches the command's canonical name returned by Command::getName(). For consistency, add it to all IDL commands, not just those in API Version 1.

      Today, a command's name is the same as its element name in YAML, but in the future we may have several specifications for the same command, with different API versions. Since YAML elements must have unique names, we add the "command_name" field.

            Assignee:
            samy.lanka@mongodb.com Samyukta Lanka
            Reporter:
            samy.lanka@mongodb.com Samyukta Lanka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: