[SERVER-51372] Add "command_name" field to IDL command syntax Created: 05/Oct/20  Updated: 29/Oct/23  Resolved: 03/Nov/20

Status: Closed
Project: Core Server
Component/s: IDL
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Task Priority: Major - P3
Reporter: Samyukta Lanka Assignee: Samyukta Lanka
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Repl 2020-11-02, Repl 2020-11-16
Participants:

 Description   

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.



 Comments   
Comment by Githook User [ 03/Nov/20 ]

Author:

{'name': 'Samy Lanka', 'email': 'samy.lanka@mongodb.com', 'username': 'lankas'}

Message: SERVER-51372 Add command_name field to IDL command syntax
Branch: master
https://github.com/mongodb/mongo/commit/011c843a4476173c80e413097f4156f464a95dda

Comment by Githook User [ 03/Nov/20 ]

Author:

{'name': 'Samy Lanka', 'email': 'samy.lanka@mongodb.com', 'username': 'lankas'}

Message: SERVER-51372 Add command_name field to IDL command syntax
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/d2ee0ddadaa1ce091d233c39cbaab5544c9796c5

Generated at Thu Feb 08 05:25:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.