© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
1 reply
lancodev

Multi-Tenancy HasManyThrough Tenant Relationship

Has anyone successfully setup a resource that has a HasManyThrough relationship to the tenant?

This seems to work 90%. However, when creating a new record that has a HasManyThrough relationship to the tenant, I'm getting the following:

Call to undefined method Illuminate\Database\Eloquent\Relations\HasManyThrough::save()
Call to undefined method Illuminate\Database\Eloquent\Relations\HasManyThrough::save()


It doesn't seem like Filament should be attempting to call the
save
save
method on the tenant relationship when that relationship is a distant relationship via intermediate models.
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

multi-tenancy - tenant relationship on every single table?
FilamentFFilament / ❓┊help
3y ago
Multi tenancy automatically set tenant id for relationships
FilamentFFilament / ❓┊help
3y ago
Multi tenancy - Select relationship() - Searchable() remove tenant information when clicked
FilamentFFilament / ❓┊help
3y ago
Multi Tenancy associate Tenant to Resource
FilamentFFilament / ❓┊help
2y ago