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
I am not sure if it is a bug. Hope it is not. The problem is that if I load relations through $with the relation translations are not lazy loaded. It generates huge amount of sql requests one for each relation entity.
PHP 8.1
Laravel 9
aAtrotomic/Laravel-translatable: 11.12.1
We use this package with Spatie/Querybuilder package. But it should be irelevant.
I hope there is a way to set up lazy loading also on relations entities.
The text was updated successfully, but these errors were encountered:
I am not sure if it is a bug. Hope it is not. The problem is that if I load relations through $with the relation translations are not lazy loaded. It generates huge amount of sql requests one for each relation entity.
We use this package with Spatie/Querybuilder package. But it should be irelevant.
I hope there is a way to set up lazy loading also on relations entities.
The text was updated successfully, but these errors were encountered: