[SERVER-66043] Define an IDL format for Change stream output and enforce API version validations Created: 28/Apr/22 Updated: 06/Dec/22 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Arun Banala | Assignee: | Backlog - Query Execution |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Query Execution
|
| Participants: |
| Description |
|
We currently do not have any validations in the code level for change output format that we return, even though we provide API Version 1 guarantees. We can define an output format in the IDL and ensure that every command response adheres to schema, in test mode. We currently do this for some of the commands, like find, aggregate for example. We can follow the same model here. |