Replies: 1 comment
-
I have commented on a similar discussion here #1252 (comment) You should find a working example as well. My example is with TypeORM, but you can use it for anything else you'd like to inject. Hope it helps. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm trying to use
type-graphql
withtypedi
and I'm running into a variety of problems. I was hoping that someone out there could point me to an example repository that uses the two packages together correctly so that I may try to figure out what my mistakes are.For reference, all of my classes are getting the
ContainerInstance
as the first argument, and nothing else. TheContainerInstance
contains all of the classes that I've decorated with@Service()
, buttypedi
just isn't passing them as arguments for some reason.Anyway, I'm kind of stuck and not sure why this isn't working - so any pointers would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions