179 reads
2 comments
·Mar 17, 2023
Mar 17, 2023
Hello Durgadas, great article. I try to use a custom repository in an helper class outside nestjs service, how I can instatiate this class passing the repository as parameter?
·
·1 reply
Author
·Mar 22, 2023
As long as you have exposed the repository within the module under exports , you should be able to inject it outside of the current service.
·