© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Gianluca Di Gesaro
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?
Durgadas Kamath
Inspire the Next.
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.