Enhanced Nested Relationship Detection in Laravel
Laravel enhances the relationLoaded() method with nested relationship detection, making it easier to verify complex eager loading states.
Previously, the relationLoaded() method could only check single-level relationships, making it difficult to verify if deeply nested relationships were loaded. The enhanced method now supports dot notation for checking nested relationships, providing