Closed wozzo closed 10 months ago
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.
Still a thing
Sorry for delayed response, I'll check it.
I don't think you can create them out of the box with DI but do you need to? ConsoleAppContext has access to ServiceProvider so you can resolve dependencies there.
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days.
The documentation specifies⬇️
But only shows how to add global filters where the instance is instantiated upfront
Is there a way to use Dependency Injection with global filters, that I've just missed from the documentation?
e.g.