-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Bug when using Take() #19207
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
May I please ask why this is has to wait till 5.0.0 and is not a hotfix? Thank you. |
@sam-wheat - Move take before Select and it should work fine. |
smitpatel
added a commit
that referenced
this issue
Dec 20, 2019
smitpatel
added a commit
that referenced
this issue
Dec 27, 2019
smitpatel
added a commit
that referenced
this issue
Dec 30, 2019
- Skip/Take does not force applying pending selector and changing shape. - Throw translation failure message for Querayble methods which we don't translate (hence we don't process in navigation expansion). Earlier we threw query failed message. Now Navigation Expansion does not throw QueryFailed error message from any place. - Unwrap type conversion for validating member access during include expansion so that we don't generate include when derived type's member is accessed. Resolves #18140 Resolves #18374 Resolves #18672 Resolves #18734 Resolves #19138 Resolves #19207
smitpatel
added a commit
that referenced
this issue
Dec 30, 2019
- Skip/Take does not force applying pending selector and changing shape. - Throw translation failure message for Querayble methods which we don't translate (hence we don't process in navigation expansion). Earlier we threw query failed message. Now Navigation Expansion does not throw QueryFailed error message from any place. - Unwrap type conversion for validating member access during include expansion so that we don't generate include when derived type's member is accessed. Resolves #18140 Resolves #18374 Resolves #18672 Resolves #18734 Resolves #19138 Resolves #19207
smitpatel
added a commit
that referenced
this issue
Jan 1, 2020
- Skip/Take does not force applying pending selector and changing shape. - Throw translation failure message for Querayble methods which we don't translate (hence we don't process in navigation expansion). Earlier we threw query failed message. Now Navigation Expansion does not throw QueryFailed error message from any place. - Unwrap type conversion for validating member access during include expansion so that we don't generate include when derived type's member is accessed. Resolves #18140 Resolves #18374 Resolves #18672 Resolves #18734 Resolves #19138 Resolves #19207
smitpatel
added a commit
that referenced
this issue
Jan 1, 2020
- Skip/Take does not force applying pending selector and changing shape. - Throw translation failure message for Querayble methods which we don't translate (hence we don't process in navigation expansion). Earlier we threw query failed message. Now Navigation Expansion does not throw QueryFailed error message from any place. - Unwrap type conversion for validating member access during include expansion so that we don't generate include when derived type's member is accessed. Resolves #18140 Resolves #18374 Resolves #18672 Resolves #18734 Resolves #19138 Resolves #19207
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
When I use the following query everything is ok :
But when I want to take only the 20 first results with Take() :
The following exception occurs :
Steps to reproduce
ApplicationUserRole
DataContext
Further technical details
EF Core version: 3.1.0
Database provider: Microsoft.EntityFrameworkCore.SqlServer
Target framework: netcoreapp3.0
Operating system: Windows 10 pro
IDE: Microsoft Visual Studio Professional 2019 - Version 16.4.0
The text was updated successfully, but these errors were encountered: