Release v23.4.0
Summary
Allow projection read models to get dependencies from IServiceProvider
By extending IRequireDependencies<T>
. It will then get a callback when initialized, and can resolve external dependencies scoped to its current tenant. This can enable logging use cases on init, mutations etc.
Added
Dolittle.SDK.Projections.IRequireDependencies<T>
, interface for read models to be able to inject dependencies