"The model [App\Models\Team] does not have a relationship named [leads]." (Multi-tenant + Modules)
I'm writing a Multi-tentant app with Filament V3, but this app uses the Modules structure (using nWidart/laravel-modules and savannabits/filament-modules libraries)
The problem is that Multi tenancy requires that the "Team" (so the tenant model) contains a relationship function to each of my Models, but in my case I can have "dynamic" models that can change by the Modules i'm using, so it's impossible to know and implement all the relationship methods in Teams (also this model potentially can get too long and a mess if the app gets more complex).
Is there anyway to workaround this or disable this requirement?
1 Reply
Any hint?