-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SelectMany over primitive collection property fails #32505
Labels
area-primitive-collections
area-query
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
Milestone
Comments
roji
changed the title
SelectMany over primitive collection fails
SelectMany over primitive collection property fails
Dec 4, 2023
Fix options:
|
roji
added a commit
to roji/efcore
that referenced
this issue
Dec 4, 2023
Also fixing exception ordering issue. Fixes dotnet#32505
Did option 4 above. If further users run into the SelectMany issue, we can consider patching with a simpler fix. |
roji
added
the
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
label
Dec 4, 2023
roji
added a commit
to roji/efcore
that referenced
this issue
Dec 4, 2023
Also fixing exception ordering issue. Fixes dotnet#32505
roji
added a commit
to roji/efcore
that referenced
this issue
Dec 4, 2023
Also fixing exception ordering issue. Fixes dotnet#32505
roji
added a commit
to roji/efcore
that referenced
this issue
Dec 22, 2023
Also fixing exception ordering issue. Fixes dotnet#32505
roji
added a commit
to roji/efcore
that referenced
this issue
Dec 22, 2023
Also fixing exception ordering issue. Fixes dotnet#32505
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area-primitive-collections
area-query
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
Query:
Full repro
The cause of the issue is that the SelectMany lambda is visited by the top-level QueryableMethodTranslatingExpressionVisitor - not by a subquery visitor. Our code for identifying the property access (b.Tags) kicks in only after the regular translation failed (code); but the base visitation throws before that when translation fails on a non-subquery visitor (code).
The text was updated successfully, but these errors were encountered: