Skip to content

Why morph relations don't follow the contract of relations? #54002

Closed Answered by macropay-solutions
macropay-solutions asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
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
Category
Q&A
Labels
None yet
1 participant