Not really a bug, but a possible improvement. The existing dependency on Microsoft.Extensions.DependencyInjection could be replaced by Microsoft.Extensions.DependencyInjection.Abstractions.
The only usage of a type from this package is in ServiceCollectionExtensions.Handlers and the signatures can be modified to use IServiceCollection.
Not really a bug, but a possible improvement. The existing dependency on
Microsoft.Extensions.DependencyInjection
could be replaced byMicrosoft.Extensions.DependencyInjection.Abstractions
.The only usage of a type from this package is in
ServiceCollectionExtensions.Handlers
and the signatures can be modified to useIServiceCollection
.If welcome, I can create a PR for the change.