Skip to content
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

Query: Sql translation is null if type mapping cannot be assigned to … #19476

Merged
merged 1 commit into from
Jan 4, 2020

Conversation

smitpatel
Copy link
Contributor

…expression

Resolves #19435

We had logic in place for Constant/Parameter but they appeared in SqlCaseExpression.
Overall, if the top level type cannot be mapped then it cannot be put in SQL tree so translation should return null

…expression

Resolves #19435

We had logic in place for Constant/Parameter but they appeared in SqlCaseExpression.
Overall, if the top level type cannot be mapped then it cannot be put in SQL tree so translation should return null
@smitpatel smitpatel merged commit 6db248e into master Jan 4, 2020
@smitpatel smitpatel deleted the smit/issue19435 branch January 4, 2020 00:33
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.

Projecting to DTO Field With Ternary: System.InvalidOperationException: 'Null TypeMapping in Sql Tree'
2 participants