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
fixes #73 - regression since #61. After setting the transactional ent… #74
…ityManager as null in context, there can be a case which the original entityManager should be returned