title: Select fields in Laravel Eloquent with relation
body: <p>How can I select fields in a laravel eloquent object what I mean</p>
  
  <pre><code>User::select('username', 'firstname', 'lastname')-&gt;with(['periods' =&gt; function($){
     $-&gt;select('jobtitle')-&gt;orderBy('start_date', 'desc')-&gt;limit(1);
  }])-&gt;paginate(50);
  </code></pre>
  
  <p>in may case on this query I get periods null</p>