#Help me fix this circular dependency error

12 messages · Page 1 of 1 (latest)

vapid frigate
#

Hello, I am using NestJS version 10 and I am getting the error, how come the error of circular dependency is changed and I need help in surfing the error. I need help. I don't want to pay for dev-tools

stuck wigeon
#

Can you share your code?

vapid frigate
#

The code is quite complex. The interaction happens between 7 or 8 classes

stuck wigeon
#

Okay, are they all properly forwardReffed to handle the circular case?

vapid frigate
#

In nestjs v9 it would not error, but in v10 it does

#

any changes regarding those in change logs, couldn't find it

stuck wigeon
#

There wasn't any chance to the dependency resolution between 9 and 10. You just got lucky it didn't error in v9

vapid frigate
#

The exception was really straight forward in v9

stuck wigeon
#

Look: do you want help or not? I've asked if you can share your code and so far I've seen nothing but complaints with no way for us to help.

vapid frigate
#

It's my work code, can I show you onlt constructors part ?

#

but not method and its content

#

sorry if it's wasting your time