Skip to content

Conversation

@AndriySvyryd
Copy link
Member

Fixes #32617
Port of #32662

Description

In EF 8 we augmented the generated compiled model with type mappings, however some aspects weren't preserved, in particular whether a given string property accepts Unicode and whether it has a fixed length.

Customer impact

When using a compiled model with unicode properties queries involving those properties will use non-unicode behavior, potentially resulting in data corruption.

How found

Customer report on 8.0.

Regression

Yes.

Testing

Tests added.

Risk

Low.

@AndriySvyryd AndriySvyryd requested a review from a team December 27, 2023 23:06
@AndriySvyryd AndriySvyryd changed the title [release/8.0] Preserve unicodeness and fixed-lengthness in compiled model. [release/8.0] Preserve unicodeness and fixed-lengthiness in compiled model. Dec 27, 2023
@wtgodbe
Copy link
Member

wtgodbe commented Jan 3, 2024

@AndriySvyryd can you get this reviewed? I can merge once it is

@maumar maumar self-requested a review January 4, 2024 02:33
@wtgodbe wtgodbe merged commit 93820b5 into release/8.0 Jan 4, 2024
@wtgodbe wtgodbe deleted the Issue32617_8 branch January 4, 2024 17:21
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