Details
-
Improvement
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
None
Description
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 } }");
|
}
|