Skip to content

Use matching type mapping when translating BoolSwitch #34906

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

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

ranma42
Copy link
Contributor

@ranma42 ranma42 commented Oct 14, 2024

Fixes #34900.

@ChrisJollyAU
Copy link
Contributor

You'll need to fix CaseOpWhen_projection as well for the SQL output. There's 2 tests that use that BoolSwitch

@ranma42
Copy link
Contributor Author

ranma42 commented Oct 14, 2024

Oops! That's what I get for not running the fill test suite before pushing 💩 (the CI would have caught it ;) ).
Thank you @ChrisJollyAU !

@ranma42 ranma42 marked this pull request as ready for review October 14, 2024 18:16
@ranma42
Copy link
Contributor Author

ranma42 commented Oct 14, 2024

Locally the test suite passes (on Linux, Sqlite+SqlServer)

Copy link
Member

@roji roji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing @ranma42!

@roji roji merged commit cd28eae into dotnet:main Oct 16, 2024
7 checks passed
@ranma42 ranma42 deleted the fix-34900 branch December 15, 2024 12:01
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.

EFCore 9 rc1 - sql server - Problem with type mapping during linq to sqlexpression translation
3 participants