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
Log statements don't respect `logging` option from TypeORM #75
This bug was added in this commit:
https://github.com/odavid/typeorm-transactional-cls-hooked/commit/ee15911fa9945363812d7f5f5428789439e921cd#
console.log(`Transactional@initializeTransactionalContext\`)
console.log(`Transactional@patchRepositoryManager repositoryType: ${repositoryType?.constructor?.name}`)
These
console.log
statements don't respect thelogging
option from TypeORM. This results in log statements even when you havelogging
set to false.