Find N+1 problems instantly by disabling lazy loading - Post Image

Find N+1 problems instantly by disabling lazy loading Community 1,108 clicks

In the next release of Laravel 8, you can strictly disable lazy loading entirely, resulting in an exception.

laravel-news.com