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

Avoid building pre-mature service provider #237

Merged

Conversation

xiaomi7732
Copy link
Member

Address #236.

The issue is caused by the fact a pre-matured service provider is built during the service registration. Bad practice:
Code:

using ServiceProvider provider = services.BuildServiceProvider();

@xiaomi7732 xiaomi7732 requested a review from karolz-ms August 29, 2021 21:49
@xiaomi7732
Copy link
Member Author

Tag @jimmyca15 who reported the issue for awareness.

Copy link
Contributor

@karolz-ms karolz-ms left a comment

Choose a reason for hiding this comment

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

LGTM ☺️

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.

2 participants