Skip to content

Don't use service discovery for DbContext types if corresponding IDesignTimeDbContextFactory implementations are found.#34082

Merged
AndriySvyryd merged 1 commit intomainfrom
Issue27322
Jul 8, 2024
Merged

Don't use service discovery for DbContext types if corresponding IDesignTimeDbContextFactory implementations are found.#34082
AndriySvyryd merged 1 commit intomainfrom
Issue27322

Conversation

@AndriySvyryd
Copy link
Copy Markdown
Member

Throw for MSBuild-based execution if no DbContext types are found.

Fixes #27322

@AndriySvyryd AndriySvyryd requested a review from a team June 25, 2024 00:43
@AndriySvyryd
Copy link
Copy Markdown
Member Author

@davidfowl FYI

…ignTimeDbContextFactory implementations are found.

Throw for MSBuild-based execution if no DbContext types are found.

Fixes #27322
@AndriySvyryd AndriySvyryd force-pushed the Issue27322 branch 2 times, most recently from 715e8ce to f9551bb Compare June 28, 2024 20:23
@AndriySvyryd AndriySvyryd requested a review from ajcvickers July 3, 2024 21:10
Copy link
Copy Markdown
Contributor

@ajcvickers ajcvickers left a comment

Choose a reason for hiding this comment

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

Super happy we're finally doing this!

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.

Construct IDesignTimeDbContextFactory without first discovering all DbContext types

2 participants