You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ok I went through the issues and see its expected behaviour, thank you very much for responding :)
The first relation is hasMany for Model, it goes 2 levels deep where both has hasMany with the last one being belongsTo
As with other issue creator, i have the same problem that i need to load them dependant on condition
Description:
Im not sure if this is expected behavior or bug.
Loading nested relationships to model in multiple steps deletes / clears up before loaded relations.
Steps To Reproduce:
$model = Model::with('relation.nested1')->first();
$model->load('relation.nested2');
After the second load, nested1 is not anymore eager loaded into $model.
The text was updated successfully, but these errors were encountered: