aboutsummaryrefslogtreecommitdiff
path: root/macros/src/injectable_impl.rs
AgeCommit message (Collapse)Author
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-21refactor: improve private method names & clean up InjectableImplHampusM
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-21fix: make DI container get_factory calls in the injectable macro validHampusM
2022-08-03refactor: add Cargo feature for preventing circular dependenciesHampusM
2022-08-02refactor: move creating a dependency trace to it's own functionHampusM
2022-08-02feat: add detection and prevention of circular dependenciesHampusM
2022-08-01feat: add hide impl of Injectable from documentationHampusM
This will make it so that by default the impl of Injectable is hidden from user code documentation. This commit also includes a flag for the injectable macro to disable the aforementioned feature
2022-07-31feat: add injecting singletons into constructorsHampusM
2022-07-31refactor!: rename InterfacePtr to TransientPtrHampusM
BREAKING CHANGE: InterfacePtr has been renamed to TransientPtr
2022-07-24feat: add support for genericsHampusM
2022-07-21refactor: re-export dependency of error_stackHampusM
2022-07-20refactor: reorganize folder hierarchyHampusM