Skip to content

Add pre-convention model configuration infrastructure - #24993

Merged
AndriySvyryd merged 1 commit into
mainfrom
Issue12229
May 28, 2021
Merged

AndriySvyryd merged 1 commit into
mainfrom
Issue12229

Conversation

@AndriySvyryd

Copy link
Copy Markdown
Member

Make model creation and finalization more consistent in tests

Fixes #12229

@AndriySvyryd
AndriySvyryd requested a review from a team May 28, 2021 00:48
catch (TargetInvocationException e) when (e.InnerException != null)
{
throw e.InnerException;
ExceptionDispatchInfo.Capture(e.InnerException).Throw();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🤔

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Not related to the rest of the PR, I was just annoyed that we lost the stack trace

/// any release. You should only use it directly in your code with extreme caution and knowing that
/// doing so can result in application failures when updating to a new Entity Framework Core release.
/// </summary>
public static readonly Type DefaultPropertyBagType = typeof(Dictionary<string, object>);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

attribute?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Already pubturnal

@AndriySvyryd
AndriySvyryd merged commit dd315f6 into main May 28, 2021
@AndriySvyryd
AndriySvyryd deleted the Issue12229 branch May 28, 2021 21:44
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.

Pre-convention model configuration

2 participants