aboutsummaryrefslogtreecommitdiff
path: root/src/provider
AgeCommit message (Collapse)Author
2022-10-29refactor!: add dependency history typeHampusM
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
2022-10-25refactor: add Debug implementations for castable factoriesHampusM
2022-10-24test: add binding configurator unit testsHampusM
2022-10-24test: add provider unit testsHampusM
2022-10-23refactor!: reduce DI container couplingHampusM
BREAKING CHANGE: You now have to import the DI containers's interfaces to use the DI containers's methods
2022-10-09refactor!: reorganize DI containersHampusM
BREAKING CHANGE: DIContainer, AsyncDIContainer & the binding structs have been relocated
2022-10-01chore: remove repetition of allowing clippy::module_name_repetitionsHampusM
2022-09-24feat: add bind async default factories to async DI containerHampusM
2022-09-17feat!: allow factories to access async DI containerHampusM
BREAKING CHANGE: The to_factory & to_default_factory methods of AsyncBindingBuilder now expects a function returning a factory function
2022-09-17refactor!: make async DI container be used inside of a ArcHampusM
BREAKING CHANGE: The async DI container is to be used inside of a Arc & it also no longer implements Default
2022-09-17feat!: allow factories access to DI containerHampusM
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
2022-09-17refactor!: make DI container be used inside of a RcHampusM
BREAKING CHANGE: The DI container is to be used inside of a Rc & it also no longer implements Default
2022-08-29feat: implement async functionalityHampusM