RamyHakam / multi_tenancy_bundle

Symfony 5 /6 bundle to support multi-tenants
MIT License
82 stars 24 forks source link

Clear Doctrine cache after connection switch #51

Open skarnl opened 2 months ago

skarnl commented 2 months ago

Not sure if this is the best way to fix it - maybe there is a cleaner method to get access to the entity manager - please point me in the right way 😁

But this at least fixes the issue.

Fix bug described in RamyHakam/multi_tenancy_bundle#50