F
Filamentβ€’13mo ago
AncientFriend

Support for external relationship

Hey, I have a small problem with the hardcoded relationship types on Forms\Components\Fieldset. We are using the Staudenmeir (https://github.com/staudenmeir/eloquent-has-many-deep) relationships (HasOneDeep https://github.com/staudenmeir/eloquent-has-many-deep#hasonedeep in this case) and cannot use them without changing the typing on the interface and trait method getRelationship (EntanglesStateWithSingularRelationship, CanEntangleWithSingularRelationships). Is there a simple solution where I don't have to rewrite the trait or write around in vendor folders :D? It works with the relationship once I disable the typing.
2 Replies
toeknee
toekneeβ€’13mo ago
Do you want to post your fix?
AncientFriend
AncientFriendβ€’13mo ago
i for now just worked around it with placeholder()->content fields wich is not exactly a fix but was enough a few hours ago ... tbh im back at the problem by now and dont really know how to go about it πŸ™‚