Is Filament Multi Tenant Doesn't Support Laravel Scope via Class Scope?

this is just a question, i know how to scope my stuff, using getEloquentQuery in my Resource, but when i use Class Scope(Ex: UserScope) and use it via ScopedBy it doesnt work, what imean is i want to access Filament::getTenant()->id from my UserScope. so is it right that we cant acces Filament::getTenant()->id from UserScope Right? when we use filament resource? thanks
1 Reply
christmex
christmexOP7mo ago
By the way,im using many to many relationship user can have many team and team can have many user
Want results from more Discord servers?
Add your server