You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For me it works when I wrap the call to initializeTransactionalContext into a conditional if statement, that checks if there is already a context initialized:
const transactionalContext = getTransactionalContext();
if (!transactionalContext) {
initializeTransactionalContext();
}
getTransactionalContext is imported from typeorm-transactional/dist/common
Hello,
Using this library with the following NestJS configuration (Webpack's Hot Module Replacement) makes the following error appear when reloading the app.
This doesn't break the app but is quite annoying in development.
I tried to fix it by following this question.
But it makes it worse.
What can I do?.
Thanks!.
The text was updated successfully, but these errors were encountered: