-
Notifications
You must be signed in to change notification settings - Fork 488
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
circular dependency has been detected with swagger plugin #2936
Comments
Please provide a minimum reproduction repository (Git repository/StackBlitz/CodeSandbox project). |
@kamilmysliwiec The solution is to keep @ApiProperty() in the parameter of TData and not remove it. I'm not sure if the original poster is facing the same issue, but I wanted to share my problem through this ISSUE. here is minium reproduction |
+1 one to this. I've used the swagger plugin + swc, I added my *dto.ts and *.type.ts files to dtoFileNameSuffix option. In couple of these files I have |
Is there an existing issue for this?
Current behavior
It throwed:
The nest-cli
Minimum reproduction code
https://privaterepo.com
Steps to reproduce
No response
Expected behavior
Render the Swagger Docs
Package version
^7.3.1
NestJS version
^10.0.0
Node.js version
v21.7.2
In which operating systems have you tested?
Other
yarn build is just fine.
The text was updated successfully, but these errors were encountered: