Skip to content

Conversation

@AndriySvyryd
Copy link
Member

The convention is getting invoked after ModelFinalizing in some cases, so it will recreate the annotation, wasting CPU cycles

@AndriySvyryd AndriySvyryd requested a review from a team as a code owner November 20, 2024 00:51
/// <remarks>
/// See <see href="https://aka.ms/efcore-docs-conventions">Model building conventions</see> for more information and examples.
/// </remarks>
public abstract class NonNullableConventionBase : IModelFinalizingConvention
Copy link
Contributor

Choose a reason for hiding this comment

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

@AndriySvyryd Does this mean I can ignore the task I have to revisit my last PR on this following your comment?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes 😄

@AndriySvyryd AndriySvyryd merged commit d84faca into main Nov 20, 2024
7 checks passed
@AndriySvyryd AndriySvyryd deleted the NonNullable branch November 20, 2024 17:27
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.

4 participants