-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Aggregation Framework, Testing Infrastructure
-
Labels:None
-
Fully Compatible
-
Query 2016-08-29, Query 2016-09-19
Any pipeline originalPipeline is logically equivalent to running the following pipeline:
[{$facet: {results: <originalPipeline>}}, {$unwind: '$results'}, {$replaceRoot: {newRoot: '$results'}}]
We should add a passthrough suite which does this transformation to each pipeline to increase test coverage of the $facet stage.