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
For every new registered user, a new tenant (with database) should be created automatically.
Above mentioned exception is raised when trying to register a new user.
Without the event listener (trying to create a new tenant upon user registration) no such exception is raised.
Thank you for the quick and helpful answer.
Making the teams tenants would be the best way, however, I'm not experienced with this tenancy package to see how to implement this right away.
As of my knowledge, teams are provided by Jetstream only: https://jetstream.laravel.com/2.x/features/teams.html
So if v3 of Tenancy for Laravel doesn't support Jetstream, it also doesn't support teams (if I am not mistaken), which means it can't be used for this purpose (teams = tenants).
I found your explanation here: laravel/framework#40165
Motivation
In v3 of Tenancy for Laravel, one of the biggest limitations our users deal with is that controllers which use constructor DI are incompatible with multi-tenancy.
This means that Fortify, Jetstream, and many other packages cannot be used out of the box.
Bug description
For every new registered user, a new tenant (with database) should be created automatically.
Above mentioned exception is raised when trying to register a new user.
Without the event listener (trying to create a new tenant upon user registration) no such exception is raised.
Steps to reproduce
Shell script (link)
Expected behavior
Creating a new tenant (with database).
Laravel version
8.77.1
stancl/tenancy version
3.4.6
The text was updated successfully, but these errors were encountered: