odavid / typeorm-transactional-cls-hooked

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
524 stars 86 forks source link

cls-hooked should be a dependency #17

Closed clovis1122 closed 5 years ago

clovis1122 commented 5 years ago

Hey there, great library!

I think that cls-hooked should be a Dependency (right now it's a peerDependency). This is because the library will not work if cls-hooked is not installed.

odavid commented 5 years ago

Thanks! You are totally right.