-
Notifications
You must be signed in to change notification settings - Fork 484
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
typeorm: 0.3.20 introduces issues with @ApiProperty on some DTOs #2811
Comments
we can close this as this is not related to |
As you mentioned in the comment, this may be related to updating Like, does |
Looks like this issue is related to other issues with the update of |
I guess that this issue can be closed as duplicate of nestjs/nest#13107 Dev response: nestjs/nest#13107 (comment) Explanation and temporal fix: nestjs/nest#13107 (comment) |
Fixed with
|
Did you read the migration guide?
Is there an existing issue that is already proposing this?
Potential Commit/PR that introduced the regression
No response
Versions
No response
Describe the regression
So, I recently updated packages and Swagger started to throw errors related to @ApiProperty (Optional) and circular dependency though a week ago it was just fine.
After investigation I figured out that downgrading typeorm from 0.3.20 to 0.3.19 fixes the issue.
Minimum reproduction code
https://github.com/OSA413/nestjs-bug-swagger-api-property
Expected behavior
For the error to not be thrown.
Other
Some more details of the issue can be found in NestJS' Discord and in this issue:
typeorm/typeorm#10671
The text was updated successfully, but these errors were encountered: