-
Type:
New Feature
-
Resolution: Done
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Aggregation Framework
-
None
-
Fully Compatible
Rather than only allowing an array we should allow an object with the fields 'if', 'then' and 'else' to be consistent with the syntax of $map and $let