1
![Stack Overflow](http://cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-icon.png)
You can eager load the person data all the time you call faces on the Photo's model:
// Photo.php
public function faces()
{
return $this->hasMany(Face::class)->with('person');
}
Or in your query, you can do this to eager load only at that time:
$photos = Photo::with('faces', 'faces.person')-