[SERVER-54028] IDL spec should support command aliases Created: 25/Jan/21 Updated: 29/Oct/23 Resolved: 05/Feb/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Rishab Joshi (Inactive) | Assignee: | Rishab Joshi (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Sprint: | Query 2021-02-08 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
There are many commands which currently have command aliases. One such command is find-and-modify, where the new name of the command is findAndModify and the older name is findandmodify. Without such aliases, developer has to create 2 classes for the same command, ie. for find-and-modify it will be findAndModify and findandmodify. Creating 2 different classes will break a lot of functionalities particularly for clients having the older version of MongoDB and using drivers to access the DB.
We should add support for command aliases as part of this ticket. |