Age | Commit message (Collapse) | Author |
|
BREAKING CHANGE: IDIContainer have been removed and multiple structs no longer take a DI container generic parameter
|
|
|
|
|
|
|
|
BREAKING CHANGE: IDependencyHistory has been removed as part of an effort to simplify the API. This affects IDIContainer, DIContainer, IAsyncDIContainer, AsyncDIContainer, Injectable, AsyncInjectable, BindingBuilder, AsyncBindingBuilder, BindingScopeConfigurator, BindingWhenConfigurator, AsyncBindingScopeConfigurator, AsyncBindingWhenConfigurator and DependencyHistory
|
|
|
|
BREAKING CHANGE: Binding builders & configurators now take dependency history type arguments, the DetectedCircular variant of InjectableError now contains a dependency history field & the injectable traits take dependency history instead of a Vec
|
|
|
|
|
|
|
|
BREAKING CHANGE: You now have to import the DI containers's interfaces to use the DI containers's methods
|
|
BREAKING CHANGE: DIContainer, AsyncDIContainer & the binding structs have been relocated
|
|
|
|
|
|
BREAKING CHANGE: The to_factory & to_default_factory methods of AsyncBindingBuilder now expects a function returning a factory function
|
|
BREAKING CHANGE: The async DI container is to be used inside of a Arc & it also no longer implements Default
|
|
BREAKING CHANGE: Factory types should now be written with the Fn trait instead of the IFactory trait and the to_factory & to_default_factory methods of BindingBuilder now expect a function returning a factory function
|
|
BREAKING CHANGE: The DI container is to be used inside of a Rc & it also no longer implements Default
|
|
|