EntryModel::with($relations) toArray does not include $relations
radic - 2 months ago
$menu = MenuModel::with('links')->find(1)->toArray(); $menu['links']; // should be an array
This does not happen with EntryModels. I think it has to do with the $cascades property but haven't digged to deep into it.
How can i ensure that toArray() does include the loaded relationships?