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

Allow opt out of import embedded schema file #11296

Merged

Conversation

bergmania
Copy link
Member

This PR introduces a new configuration so solutions or packages can opt-out of the import of embedded schema files.

To make this work non-breaking, I had to refactor our initialization of the StaticServiceProvider, as the IStarterFilters are executed after the hosted services. And thereby cannot be used for e.g. migrations.

…ime as this runs before the IStartupFilters, and otherwise the static service provider is not available in hosted services. E.g. for migrations
Copy link
Contributor

@AndyButland AndyButland left a comment

Choose a reason for hiding this comment

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

Looks good to me and have tested with the option set and missing and we see the expected behaviour.

@bergmania bergmania merged commit 2a29cdc into v9/9.0 Oct 6, 2021
@bergmania bergmania deleted the v9/bugfix/allow_opt_out_of_import_embedded_schema_file branch October 6, 2021 09:14
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.

2 participants