rewe-digital/katana

Add `provider()` to `ProviderDsl`

dave08 opened this issue · 1 comments

Add provider() to ProviderDsl to inject a dependency's factory instead of creating a new instance for injection. Maybe it should fail-fast if trying to use provider() to inject a singleton { } declaration though...

Closed via #20