Is there a way to use static method with dependency injection in NestJS?

前端 未结 0 405
萌比男神i
萌比男神i 2021-01-22 23:06

An example is better than a long explanation:

// Backery.service.ts
import { Injectable } from \'@nestjs/common\';
import { InjectRepository } from \'@nestjs/type         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题