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

Add "api_version" and "is_deprecated" fields to IDL command syntax

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

      api_version: A string. Optional. The default value is empty, meaning that the IDL command is not in any API version. Add api_version: "1" to all commands in API Version 1. If in the future a command changes between API Versions, there will be a separate IDL definition for API Version 1, a separate IDL definition for API Version 2, and so on.

      is_deprecated: A boolean. Optional. True if this command is deprecated in its API version. The IDL compiler will raise an error if this is set and apiVersion is not set.

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            samy.lanka@mongodb.com Samyukta Lanka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: