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

Check if Dolittle Client is connected in middleware and fix configuration bug #131

Merged
merged 2 commits into from
Feb 10, 2022

Conversation

woksin
Copy link
Contributor

@woksin woksin commented Feb 10, 2022

Summary

Do not throw exception when using dolittle middleware and it's not connected before a request is received, and fixes a configuration bug when getting a Dolittle Client directly from the service provider.

Fixed

  • In the TenantScopedServiceProviderMiddleware we check if the Dolittle Client is connected and log a message if it's not
  • Using the IServiceProvider.GetDolittleClient() got the wrong configuration object.

@woksin woksin added the patch label Feb 10, 2022
@jakhog jakhog changed the title Check if Dolittle Client is connected in middleware Check if Dolittle Client is connected in middleware and fix configuration bug Feb 10, 2022
@jakhog jakhog merged commit d351a51 into master Feb 10, 2022
@jakhog jakhog deleted the check-is-connected branch February 10, 2022 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants