Skip to content

Conversation

fiseni
Copy link
Collaborator

@fiseni fiseni commented Apr 23, 2025

Fixes #463

There is an ongoing inconsistency in EF (described in the related issue). For now, we won't infer the previous property type from LambdaExpression, we'll keep it as a state in IncludeExpressionInfo.

The constructors of the IncludeExpressionInfo are modified, so that might be a breaking change for anyone using it directly.

@fiseni fiseni requested a review from ardalis April 23, 2025 12:16
@ardalis ardalis merged commit b91ace5 into main Apr 23, 2025
1 check passed
@fiseni fiseni deleted the theninclude-type-inference branch April 23, 2025 15:14
This was referenced Jul 21, 2025
This was referenced Oct 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

InvalidCastException when using ThenInclude on IReadOnlyCollection

2 participants