Let's say I have a first module which imports a typeorm repository which is used in a guard. That guard is exported by that module to be reused by other modules.
Then in a second module, I import first module and use the guard in my controller.
Why am I getting an error on startup stating that the dependency on the typeORM repository could not be resolved?
What I would think is that the instantiation of that repository is covered by ModuleB, why would moduleA care how to resolve it ?