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

Prevent new commands from using legacy command types

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • Cluster Scalability 2025-01-20

      Any new commands added should use TypedCommand. However, a number of commands still use legacy defined types, so these definitions still exist - until we convert all commands to use TypedCommand, we can't actually remove the legacy definitions, and new commands are periodically added using the legacy types. In order to prevent this, we should create a way to prevent new commands from using legacy types (e.g. create a linter of some sort).

            Assignee:
            david.chen@mongodb.com David Chen
            Reporter:
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: