Support for Morph To & Morph Many relationships #245
duncanmcclean
started this conversation in
Feature Requests
Replies: 2 comments
-
I am using Filament as a backend for a project and runway for the frontend. It may be worth having a look at how Filament is dealing with the relationship field. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I see three ways of accomplishing this:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be great if Runway could support
MorphTo
relationships.For example, I have this
commentable
relationship which can either be aCommentableItem
or aComment
provided by the Spatie Comments package.This relationship essentially represents what the comment is commenting on.
Ideally, the 'Morph To' fieldtype would work similarly to the 'Belongs To' fieldtype. However, there's a few things that need to be considered:
Beta Was this translation helpful? Give feedback.
All reactions