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

[release/6.0] Query: Use type mapping from IDbFunction while translating (#27995) #29216

Merged
merged 1 commit into from
Nov 2, 2022

Conversation

smitpatel
Copy link
Member

@smitpatel smitpatel commented Sep 27, 2022

Resolves #27954
Resolves #27524
Resolves #29204

Description

Custom mappings to database functions are not using the correct type mappings for parameters of the functions. This makes it impossible to map these database functions. These issues have been fixed and tested in EF7, and this change brings the fixes back to LTS EF Core 6.0, since there are no workarounds.

Customer impact

Impossible to map database functions where the type mapping for parameters is important. There is no known workaround.

How found

Multiple customer reports.

Regression

No.

Testing

These issues have been fixed and tested in EF7.

Risk

Low; correct type mappings now used.

@smitpatel smitpatel changed the title Query: Use type mapping from IDbFunction while translating (#27995) [release/6.0] Query: Use type mapping from IDbFunction while translating (#27995) Sep 27, 2022
@ajcvickers ajcvickers requested a review from roji October 5, 2022 19:48
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.

Sorry this approval took so long.

@dougbu
Copy link
Member

dougbu commented Nov 2, 2022

@rbhanda what is this PR blocked on❔ release/6.0 is now open in this PR since branding changes are in for 6.0.12.

@ajcvickers ajcvickers removed the blocked label Nov 2, 2022
@ajcvickers
Copy link
Member

@dougbu It's not blocked anymore. We just didn't want it going in for 6.0.11.

@ajcvickers ajcvickers merged commit 03ef186 into release/6.0 Nov 2, 2022
@ajcvickers ajcvickers deleted the smit/port29204 branch November 2, 2022 09:47
@ajcvickers ajcvickers removed this from the 6.0.12 milestone Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants