Details
-
Bug
-
Resolution: Done
-
Major - P3
-
2.1
-
None
-
None
Description
var local = new [] { "Betty", "Admins" };
|
users.AsQueryable().Where(x => x.Permissions.Any(p => local.Contains(p.User)));
|
renders:
[{ "$match" : { "User" : { "$in" : ["Betty", "Admins"] } } }]
|
but it should render:
{ "$match" : { "Permissions.User" : { "$in" : ["Betty", "Admins"] } } }
|
Notice that the Permissions prefix is left out.