How do I inject my NestJS service, that has a TypeORM entity injected, into another module, outside the module it lives?
export class XPTOService implements XPTORepository {
constructor(
@InjectRepository(XPTOEntity)
private repository: Repository<XPTOEntity>,
) {}
This guy is declared as a provider of XPTOModule
And i would like to use it inside the FooBarModule
How to do that?