-
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
RC2, using ?? operator in select fails with casting error #5439
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
Milestone
Comments
The invalid cast exception is the result of a general problem with materialization and SQL Server. There are a few different ways to compensate for this issue:
|
Already fixed in RTM. Adding test. |
dupe of #5652 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
RC2, using ?? operator in select fails with casting error.
.Select(x => x.NullableBooleanProperty ?? false)
would fail with casting error. But the same like this is ok
.Select(x => x.NullableBooleanProperty == null ? false : x.NullableBooleanProperty.value)
The text was updated successfully, but these errors were encountered: