79592918

Date: 2025-04-25 16:11:03
Score: 0.5
Natty:
Report link

Came back to this question years later to offer an update.

Laravel 12 has a new feature called Automatic Eager Loading, which fixed this issue of eager loading in recursive relationships for me.

https://laravel.com/docs/12.x/eloquent-relationships#automatic-eager-loading

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Felix