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
We are trying to create a test with supertest that uses two instances of ServerLoader apps both using the same database. The problem is that TypeORM manages connections is some sort of a Singleton object thus causing the application to fail silently. It would be nice if TypeORMService would check if the connection already exists using getConnection(name) from TypeORM and if the connection already exists it should reuse it.
The text was updated successfully, but these errors were encountered:
Information
Description
Hello,
We are trying to create a test with supertest that uses two instances of ServerLoader apps both using the same database. The problem is that TypeORM manages connections is some sort of a Singleton object thus causing the application to fail silently. It would be nice if TypeORMService would check if the connection already exists using
getConnection(name)
from TypeORM and if the connection already exists it should reuse it.The text was updated successfully, but these errors were encountered: