Lazy loading doesn't error. It just quietly runs N+1 queries and you don't notice until you're looking at a debug bar wondering why a simple list page is making 40 database calls. preventLazyLoading() turns that into an exception in development.
0 reposts0 likes