[SERVER-51375] Add "api_version" and "is_deprecated" fields to IDL command syntax Created: 05/Oct/20 Updated: 29/Oct/23 Resolved: 22/Oct/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | IDL |
| Affects Version/s: | None |
| Fix Version/s: | 5.0.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Samyukta Lanka | Assignee: | A. Jesse Jiryu Davis |
| 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: | Repl 2020-11-02 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
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. |
| Comments |
| Comment by Githook User [ 22/Oct/20 ] |
|
Author: {'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com', 'username': 'ajdavis'}Message: |
| Comment by A. Jesse Jiryu Davis [ 16/Oct/20 ] |
|
Replaced "api_versions" with "api_version", singular, due to a design change. |