Closed pirmax closed 6 years ago
@pirmax can you please double check if DatabaseRepository
has a dependency on CompanyRepository
? Also can you please ensure that you are using the latest version of InversifyJS? Thanks
Closing this issue because of inactivity. Please feel free to create a new issue if you need help again.
Hi have a config file for Inversify with bind.
Inversify config:
container.bind<DatabaseRepositoryInterface>(TYPES.DatabaseRepository).to(DatabaseRepository);
I have multiple injection in my repository:
My error:
Serverless: Failure: Circular dependency found: Symbol(CompanyRepository) --> Symbol(DatabaseRepository) --> Symbol(CompanyRepository)