Skip to content

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

Merged
ajcvickers merged 1 commit into
release/6.0from
smit/port29204
Nov 2, 2022
Merged

[release/6.0] Query: Use type mapping from IDbFunction while translating (#27995)#29216
ajcvickers merged 1 commit into
release/6.0from
smit/port29204

Conversation

@smitpatel

@smitpatel smitpatel commented Sep 27, 2022

Copy link
Copy Markdown
Contributor

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

@roji roji left a comment

Copy link
Copy Markdown
Member

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

dougbu commented Nov 2, 2022

Copy link
Copy Markdown
Contributor

@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
Copy Markdown
Contributor

@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