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

Preiew 8: Remove non-named shared type ModelBuilder overloads #21739

Merged
merged 2 commits into from
Jul 22, 2020

Conversation

ajcvickers
Copy link
Member

Based on API reviews we decided that we don't want to ship these overloads in 5.0. Ideally they belong in model pre-configuration, which we hope to implement in 6.0, so removing them from here now.

Based on API reviews we decided that we don't want to ship these overloads in 5.0. Ideally they belong in model pre-configuration, which we hope to implement in 6.0, so removing them from here now.
@ajcvickers ajcvickers changed the title Preiew 8: Removed non-named shared type ModelBuilder overloads Preiew 8: Remove non-named shared type ModelBuilder overloads Jul 22, 2020
@ajcvickers ajcvickers requested a review from a team July 22, 2020 21:38
@ajcvickers ajcvickers merged commit b76b839 into release/5.0-preview8 Jul 22, 2020
@ajcvickers ajcvickers deleted the Really0722 branch July 22, 2020 22:59
/// <param name="model"> The model to add the shared type to. </param>
/// <param name="clrType"> The type of the entity type that should be shared. </param>
/// <param name="fromDataAnnotation"> Indicates whether the configuration was specified using a data annotation. </param>
public static Type AddShared([NotNull] this IConventionModel model, [NotNull] Type clrType, bool fromDataAnnotation = false)
Copy link
Member

Choose a reason for hiding this comment

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

I don't think that we decided to remove the Metadata API as well

Copy link
Member

Choose a reason for hiding this comment

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

I added them back in #21741

Copy link
Member Author

Choose a reason for hiding this comment

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

I removed them because they weren't being called by anything but the fluent API, but fine to add them back.

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.

3 participants