title: Nest custom repository function not define
body: <p>I have a small question about custom repositories in nestjs.</p>
  <p>I have the following logic when a request comes in (for example for user entity).</p>
  <p>A controller for the user requests -&gt; service -&gt; repository calls custom function.</p>
  <p>So i have the following repository:
  <a href="https://i.stack.imgur.com/FtRaN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FtRaN.png" alt="enter image description here" /></a></p>
  <p>I inject the repository in service class
  <a href="https://i.stack.imgur.com/8bcAz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8bcAz.png" alt="enter image description here" /></a></p>
  <p>And register in module file
  <a href="https://i.stack.imgur.com/2H0qb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2H0qb.png" alt="enter image description here" /></a></p>
  <p>But when calling signup function I got error:
  <a href="https://i.stack.imgur.com/8RxpB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8RxpB.png" alt="enter image description here" /></a></p>
  <p>I did research and also try to add  @InjectRepository(UserRepository) in service but it sill not work
  Environments:</p>
  <ol>
  <li>node: 16.13.0</li>
  <li>@nestjs/typeorm&quot;: &quot;^8.1.4&quot;,</li>
  <li>typeorm: &quot;^0.3.7&quot;</li>
  <li>nestjs: 8.2.8</li>
  </ol>
  <p>Thank in advance</p>