Why morph relations don't follow the contract of relations? #54002
-
|
Beta Was this translation helpful? Give feedback.
Answered by
macropay-solutions
Dec 23, 2024
Replies: 1 comment
-
So it works just that it does not split them according to this https://laracasts.com/discuss/channels/eloquent/eager-loading-polymorphic-relationship-need-help, meaning it eager loads fruits but not apples and peaches. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
macropay-solutions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So it works just that it does not split them according to this https://laracasts.com/discuss/channels/eloquent/eager-loading-polymorphic-relationship-need-help, meaning it eager loads fruits but not apples and peaches.