Skip to content
Discussion options

You must be logged in to vote

Unfortunately, it is not possible to make it work with InjectRepository, as that would require monkey-patching.

There is a disclaimer right at the top of the docs page of the adapter: https://papooch.github.io/nestjs-cls/plugins/available-plugins/transactional/typeorm-adapter

You can alternatively use the typeorm-transactional package, which implements a similar API through monkey-patching of TypeORM.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sschneider-ihre-pvs
Comment options

Answer selected by sschneider-ihre-pvs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants