Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: use TransactionManager when inside Transactions #40

Open
ianwremmel opened this issue Mar 29, 2020 · 4 comments
Open

feature: use TransactionManager when inside Transactions #40

ianwremmel opened this issue Mar 29, 2020 · 4 comments
Labels
type: feature Issues related to new features.

Comments

@ianwremmel
Copy link

Is it possible to make multiple repository calls within a single transaction using dependency injection? If I'm reading the code correctly, this will always grab repositories off of a connection and therefore outside a transaction.

If it is possible, could that be added to the documentation?

@sguduguntla

This comment has been minimized.

@eechava6

This comment has been minimized.

@dolsup
Copy link

dolsup commented Sep 15, 2020

Hello, check typeorm/typeorm#1895. It should be helpful.

And take using https://github.com/odavid/typeorm-transactional-cls-hooked into your account.

@NoNameProvided NoNameProvided added the type: feature Issues related to new features. label Jan 15, 2021
@NoNameProvided NoNameProvided changed the title Use with Transactions? feature: use TransactionManager when inside Transactions Jan 15, 2021
@NoNameProvided
Copy link
Member

I don't think this is possible currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature Issues related to new features.
Development

No branches or pull requests

5 participants