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

Specifying Isolation Levels #4

Closed ashleyw closed 5 years ago

ashleyw commented 5 years ago

Hey! Would you be open to a PR to support isolation levels?

https://github.com/typeorm/typeorm/blob/master/docs/transactions.md#specifying-isolation-levels

Thanks!

odavid commented 5 years ago

Sure. This was one of the things I wanted to have in day one, but the typeorm version I used, did not have it, only documented. I wanted to get the same experience a spring developer has. So if you are willing to contribute, I will for sure be open to it. Best, Ohad

odavid commented 5 years ago

@ashleyw - released 0.1.3