EntryModel::with($relations) toArray does not include $relationsCreated 5 years ago by radic
$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?