Details
-
Task
-
Resolution: Done
-
Major - P3
-
None
-
None
-
0.2
Description
In addition to the 3 bullets currently listed in
https://docs.mongodb.com/manual/release-notes/3.2-compatibility/#aggregation-compatibility-changes
Consider adding a fourth bullet around the more forgiving nature of the $unwind stage as now it does not error on non-array operands. It now treats a non-array operand as a single element array.
It is true this is documented here: https://docs.mongodb.com/manual/reference/operator/aggregation/unwind/#non-array-field-path
But it may make sense to collate all of these changes into the compatibility section.