title: How get and paginate with many entities in nestjs
body: <p>First, sorry for my english.</p>
  <p>I have a problem filtering and paginate in nestjs.</p>
  <p>I have these entities 'Contract', 'Property' and 'Person'</p>
  <p>A Contract can have a Property and a Property can have one person</p>
  <p>The person have an attribute (document: string)</p>
  <p>My problem:</p>
  <p>I can't get and paginate the contract that have a property with a person with a document like '123'.</p>
  <p>I have this paginte:</p>
  <pre><code>async paginate(paginationOptions: IPaginationOptions, options?: any): Promise&lt;Pagination&lt;T&gt;&gt; {
          // Set maximum limit
          paginationOptions.limit = paginationOptions.limit &gt; 50 ? 50 : paginationOptions.limit;
          return await paginate&lt;T&gt;(this.repository, paginationOptions, options);
      }
  </code></pre>
  <p>And the options can not work with</p>
  <pre><code>options = {
    where: {
      contract: {
        property: { person: '123' }
      }
    }
  }
  </code></pre>