Usually to eager load a relationship I would do something like this:
Model::with(\'foo\', \'bar\', \'baz\')...
A solution might be to set
You can't have a dynamic loading of relationships for a certain model. you need to tell the model which relations to support.