aboutsummaryrefslogtreecommitdiff
path: root/macros/src/factory
AgeCommit message (Collapse)Author
2023-08-15fix!: make the factory macro not change its inputHampusM
BREAKING CHANGE: The factory macro no longer - Changes the return type to be inside of a TransientPtr - Adds Send + Sync bounds when the threadsafe or the async flag is set - Changes the return type be inside of a BoxFuture when the async flag is set
2023-08-04refactor!: rename the async flag of the declare_interface macroHampusM
BREAKING CHANGE: The flag 'async' of the declare_interface macro has been renamed to 'threadsafe_sharable'. The reason being that the name 'async' was an outright lie. The new name describes exactly what the flag enables
2023-08-03feat: add constructor name flag to injectable macroHampusM
2023-08-02test: clean up DeclareDefaultFactoryMacroArgs unit testsHampusM
2023-08-01test: clean up FactoryMacroArgs unit testsHampusM
2023-01-30feat: improve macro error messagesHampusM
2022-11-19refactor: reorganize non-public API itemsHampusM
2022-11-11test: remove some unused importsHampusM
2022-11-11test: add unit test for parsing factory type aliasesHampusM
2022-11-11test: make small improvements in the declare_default_factory macro args testsHampusM
2022-11-11test: add unit tests for parsing factory macro argsHampusM
2022-11-11test: add unit tests for parsing declare_default_factory macro argsHampusM
2022-10-09refactor!: reorganize DI containersHampusM
BREAKING CHANGE: DIContainer, AsyncDIContainer & the binding structs have been relocated
2022-09-24feat: add bind async default factories to async DI containerHampusM
2022-09-24refactor!: remove repetition of declaring factory interfacesHampusM
BREAKING CHANGE: The to_default_factory method of the blocking and async DI containers now expect a function returning another function
2022-09-24refactor: reorganize modules in the macros crateHampusM