Skip to content

Query: projected collection navigations don't get tracked if the collection is composed on #8999

@maumar

Description

@maumar

Related to #7131

We currently preform fixup if the collection is projected direcly (by using include pipeline), however if it's composed on, we don't.

e.g.:

context.Parents.Select(p => new {Parent = p, p.Children.Where(c => c.IsNaughty)}).ToList();

We should either change the way we do fixup for those cases, or improve the logic that converts collection projections to includes to incorporate more cases (esp. filters)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions