DmitriyNikolenko

Results 5 comments of DmitriyNikolenko

Is it any solution to resolve the circular dependency issue?

@omermorad Here is the simplest example of the issue made within NestJS application. https://codesandbox.io/s/nestjs-mockingbird-ts-issue-00uqo The case when the circular dependency issue is absent: https://ibb.co/xXNF2CK The case when the circular dependency...

@omermorad I expect to avoid war with this error in the project :) (https://ibb.co/sR7dVZK) Because TypeORM decorators line OneToMany, class-transformer decorators like Type and nestjs/swagger decorators like ApiProperty allows me...

I expect behaviour like class-transformer does https://github.com/typestack/class-transformer#how-does-it-handle-circular-references

Expected behavior stems from real-world use cases. I use your splendid library for generating fixtures in order to insert to database. Imagine we have the User and UserPermissons entities. When...