-
Type: Sub-task
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Empty show more show less
The spec says that only the following aggregation stages should be supported if the $changeNotification stage is included:
- $match
- $project
- $addFields
- $replaceRoot
- $redact
Furthermore, $changeNotification must be the first stage.
The server will return an error if a forbidden stage is included in the pipeline, so our mock must also return an error.
- is related to
-
SERVER-29137 Implement agg stage whitelist
- Closed