Closed piyushhanchate closed 6 months ago
I have no experience with multi tenancy.
We managed to get it to work by doing this:
And you should be good to go. Now when you inject a repository in your services with @InjectRepository()
, they automatically become request-scoped and use the right connection.
I've been trying to implement schema based multi tenancy using this guide, it requires me to inject a custom request scoped connection in the services. Could you help me out with implementing this, please?