-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Query 2021-02-08
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.
- has to be done before
-
SERVER-53863 FindAndModify commands should inherit from IDL generated base Command class.
- Closed
- related to
-
SERVER-53178 Mark legacy 'findandmodify' command name as unstable
- Closed