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

Cache derived types used in DerivedTypeDiscoveryConvention. #22314

Merged
1 commit merged into from
Aug 31, 2020
Merged

Conversation

AndriySvyryd
Copy link
Member

Merge BaseTypeDiscoveryConvention with DerivedTypeDiscoveryConvention.
Make sure that base type is reset when it becomes owned.
Remove entries from the ambiguous inverses as soon as the navigation or declaring type is ignored.

@AndriySvyryd
Copy link
Member Author

@dotnet/efteam Obsoleted API:

  • DerivedTypeDiscoveryConvention
  • InheritanceDiscoveryConventionBase

New API:

  • NavigationAttributeConventionBase.ProcessEntityTypeRemoved( IConventionModelBuilder modelBuilder, Type type, MemberInfo navigationMemberInfo, Type targetClrType, TAttribute attribute, IConventionContext<IConventionEntityType> context)

@AndriySvyryd AndriySvyryd force-pushed the Issue20135 branch 2 times, most recently from 4c98a14 to 8ec3fb2 Compare August 29, 2020 05:04
@AndriySvyryd AndriySvyryd force-pushed the Issue20135 branch 2 times, most recently from 48c324a to d388067 Compare August 30, 2020 18:49
@AndriySvyryd
Copy link
Member Author

@Pilchie For RC1

@Pilchie
Copy link
Member

Pilchie commented Aug 31, 2020

Approved for RC1.

Merge BaseTypeDiscoveryConvention with DerivedTypeDiscoveryConvention.
Make sure that base type is reset when it becomes owned.
Remove entries from the ambiguous inverses as soon as the navigation or declarung type is ignored.
@ghost
Copy link

ghost commented Aug 31, 2020

Hello @AndriySvyryd!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost merged commit 5cb4227 into release/5.0 Aug 31, 2020
@ghost ghost deleted the Issue20135 branch August 31, 2020 01:13
This pull request was closed.
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.

3 participants