Open constantinoschristoforou opened 4 years ago
You currently can not dynamically create the connections. I will take a look at this more when I get the time, but at a quick glance, I am unsure if nestjs support on the fly module creation.
Same request, both document-based and db-based multi-tenancy needed. If not, could you please gave some suggestions?
I am trying to implement the same with typegoose but doesn't work . with mongoose it works.
I am trying to build multitenancy functionality, each tenant will have its own database. Is this possible to create dynamically the connections using typegoose?
In the documentation as I can understand you can have multiple connections but are declared static.
Any help would be appreciated