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

Propagate MaxLength, Precision, Scale and IsUnicode to sharing columns #22396

Merged
merged 1 commit into from
Sep 4, 2020

Conversation

AndriySvyryd
Copy link
Member

Fixes #22387

@AndriySvyryd
Copy link
Member Author

@Pilchie For RC2

@Pilchie
Copy link
Member

Pilchie commented Sep 4, 2020

Approved for .NET 5 RC2.

@AndriySvyryd AndriySvyryd merged commit b276a55 into release/5.0-rc2 Sep 4, 2020
@AndriySvyryd AndriySvyryd deleted the Issue22387 branch September 4, 2020 17:10
/// <param name="property"> The property. </param>
/// <param name="storeObject"> The identifier of the table-like store object containing the column. </param>
/// <returns> The maximum length, or <see langword="null" /> if none if defined. </returns>
public static int? GetMaxLength([NotNull] this IProperty property, in StoreObjectIdentifier storeObject)
Copy link

@Neme12 Neme12 Dec 13, 2020

Choose a reason for hiding this comment

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

@AndriySvyryd @smitpatel @ajcvickers Honestly I'm not surprised that so many bugs and regressions creep into EF Core with every release. This PR changes a whole bunch of code with only 1 small test added. These are new public APIs and are completely untested. Please, this needs to change 😞

Copy link
Member Author

Choose a reason for hiding this comment

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

@Neme12 The test exercises and validates all the added code. But you have a point, we can certainly spend more time writing tests instead of adding more features. However our efforts would still fall short of the real-world scenarios that you and other early adopters run with the preview versions.
Thank you for your patience and diligence in reporting the issues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants