-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 2.2.3, 2.3.0-beta1
-
Fully Compatible
The following query:
var results = queryable.Where(x => x.Occurrences.Any(o => requiredMeta.All(i => o.Meta.Contains(i)))).ToList();
is rendered incorrectly in the aggregation query sent to MongoDB. There is no "Occurrences" part in the $all clause. Please see attached Program.cs for details on how to reproduce the problem.