-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 4.2.1
-
Component/s: Aggregation Framework
-
None
-
Environment:Arch Linux
-
ALL
-
I'm not exactly sure this isn't by definition but it definitely doesn't make sense and I haven't seen it in the documentation. Please check the example in the "Steps to Reproduce". The same is true for the `_id` field - when using `switch` - only one of the values is used (perhaps the "longest"?) while I would expect each document to be evaluated separately on that switch. Am I missing something? How am I supposed to do this correctly or is this really a bug as I think?