-
I need to register some classes as themself. They can be found by a specific interface, but I don't want to register them as such, as the specific implementations need to be injected.
If I understa…
-
Hi,
Before recently, in order to inject dependencies in steps, we had to register the step as transient. Therefore, to access a scoped service, we had to create a new scope and retrieve the require…
-
### Is your feature request related to a problem? Please describe.
This is related to my question here https://github.com/dotnet/aspnetcore/issues/16874#issuecomment-576941180
I think it would be …
-
I'm in the process of upgrading our use of MediatR from 9.x to 10.x and have bumped into an issue where the original author has unfortunately cloned/tweaked code from the ServiceRegistrar class and it…
bhehe updated
2 years ago
-
It would be great if these methods had been added for Decorator
`DecorateTransient();`
`DecorateScoped();`
`DecorateSingleton();`
Currently, both Decorator and the class which is decorating has…
-
When constructing the instance of from the array of types provided to the `ParseArguments` it would be nice if the instance supplied had it's dependencies resolved via constructor arguments. Perhaps …
-
### Is your feature request related to a problem? Please describe.
Currently, many generic extension methods exist on the IServiceCollection to support the registration of services. One that seems to…
-
I am facing an issue related to how my application is organized and I am quite lost on how to solve it. Would like to know if there is a way around this issue.
Before, I used to have only a single…
-
When my application starts up, I'd like to have it ensure that the target Cosmos database and the containers specified in the DbContext are created via `myContext.Database.EnsureCreatedAsync()`. Unfor…
-
### Description
_Related: https://github.com/aspnet/DependencyInjection/issues/453 (resolution: wont fix)_
_Related: https://github.com/jbogard/MediatR/issues/819_
Contravariant handler (see repr…