Skip to content

Conversation

@Dreamescaper
Copy link

Fixes #1268

This PR fixes the following:

  • Lifetime parameter now actually works (it was always singleton effectively before)
  • It doesn't build IServiceProvider from IServiceCollection unnessesseraly
  • It doesn't create IMinioClientFactory or IMinioClient until requested

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.

MinioClient Injection Logic with ServiceLifetime Can Be Confusing

1 participant