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
i am using a sequelize option factories to dinamically create connections by Request parameters.
now i want these providers to become durable but i am facing an issue:
following the doc. online, the providers are indeed durable, in that they are not re-created at every similar request. but the issue is that previously created providers are not correctly retrieved ... so in fact only the last added provider by contextId is picked ... these looks to me like an ugly bug ...
are durable providers perhaps only intended to work with typeorm ?? is there any COMPLETE example out there for how this would look like ?
Is there an existing issue for this?
Current behavior
linked to #990
i am using a sequelize option factories to dinamically create connections by Request parameters.
now i want these providers to become durable but i am facing an issue:
following the doc. online, the providers are indeed durable, in that they are not re-created at every similar request. but the issue is that previously created providers are not correctly retrieved ... so in fact only the last added provider by contextId is picked ... these looks to me like an ugly bug ...
are durable providers perhaps only intended to work with typeorm ?? is there any COMPLETE example out there for how this would look like ?
Minimum reproduction code
#990
Steps to reproduce
No response
Expected behavior
durable providers should use the same sequelize options
Package version
10
NestJS version
10
Node.js version
16
In which operating systems have you tested?
Other
No response
The text was updated successfully, but these errors were encountered: