-
Type:
Improvement
-
Resolution: Gone away
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: LINQ
-
None
-
🔵 Done
-
None
-
None
-
None
-
None
-
None
-
None
The following test in MongoQueryableTests fails because SelectMany does not handle transparent identifiers well.
[Test]
public void SelectMany_with_collection_selector_with_a_transparent_identifier()
{
var query = from x in CreateQuery()
from y in x.G
orderby x.Id
select new { x.B, y };
Assert(query,
4,
"{ $unwind: '$G' }",
"{ $project: { G: '$G', _id: 0 } }");
}