I hope this message finds you well. I wanted to inform you about a bug I've encountered while using your open-source package.
In a NESTJS + TypeORM, our project utilizes two datasources, A and B. However, when using more than one datasource, I've identified a particular issue: the queryRunner seems to execute against datasource A regardless of whether we're trying to access data from datasource A or B.
To address this, I've made the following modifications to the code, which resolve this problem when working in an environment with two datasources:
I believe the root cause of this issue lies in how the queryRunner is interacting with multiple datasources. By making the above changes, I've been able to rectify the problem within our project.
I kindly request you to review and consider applying these changes. Your assistance in addressing this matter would be greatly appreciated.
Hello,
I hope this message finds you well. I wanted to inform you about a bug I've encountered while using your open-source package.
In a NESTJS + TypeORM, our project utilizes two datasources, A and B. However, when using more than one datasource, I've identified a particular issue: the queryRunner seems to execute against datasource A regardless of whether we're trying to access data from datasource A or B.
To address this, I've made the following modifications to the code, which resolve this problem when working in an environment with two datasources:
I believe the root cause of this issue lies in how the queryRunner is interacting with multiple datasources. By making the above changes, I've been able to rectify the problem within our project.
I kindly request you to review and consider applying these changes. Your assistance in addressing this matter would be greatly appreciated.
Thank you.