aboutsummaryrefslogtreecommitdiff
path: root/examples/unbound
AgeCommit message (Collapse)Author
2023-08-17docs: remove the 'unbound' exampleHampusM
This was not at all a useful example
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-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-28docs: use anyhow in the unbound exampleHampusM
2022-08-27refactor!: make DI container have single get functionHampusM
BREAKING CHANGE: The DI container get_singleton & get_factory functions have been replaced by the get function now returning a enum
2022-08-22refactor!: move specifying binding scope to a binding scope configuratorHampusM
BREAKING CHANGE: Specifying the scope of a DI container binding is now done with a binding scope configurator
2022-08-21refactor!: change errors to be more saneHampusM
BREAKING CHANGE: Major improvements have been made to error types and the error_stack crate is no longer used
2022-08-21docs: add example for displaying a unbound interface errorHampusM