Hey, my book is finally available. Find it here.  Eloquent Beyond The Basics!

🔥 Laravel Tip: Nested Eager Loading on Polymorphic Relationships

Dec 18, 2022

Sometimes you need to eager load different relationships depending on the type of model on a polymorphic relationship.

This is super easy to do with the `morphWith` method.