A Transactional Method Decorator for typeorm that uses cls-hooked to handle and propagate transactions between different repositories and service methods. Inpired by Spring Trasnactional Annotation and Sequelize CLS
MIT License
522
stars
86
forks
source link
TypeError: typeorm_transactional_cls_hooked_1.runOnTransactionCommit is not a function #102
I get
TypeError: typeorm_transactional_cls_hooked_1.runOnTransactionCommit is not a function
when i try and use
runOnTransactionCommit(() => {
inside a service that is called by a unit test, even after adding