-
Notifications
You must be signed in to change notification settings - Fork 478
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
fix: transforming string to lowercase turns string object into [object object] on latest version 0.3.2 #560
Comments
I'm seeing the same, @abbasogaji.
|
Guys this is because breaking changes in patch version. // instead of this
@Transform((value) => value.toString())
// use object destruction as decorator pass object instead of list of arguments
@Transform(({value}) => value.toString()) |
@uamanager i thought breaking changes should roll out a major release, because this could affect a lot of projects |
@abbasogaji Contributors of this library thinking in another way) That's how they broke my production also)) |
@uamanager ...this is really bad.. I have quite lot of projects (microservices) in production using class-transformer , this is going to be a mess, now I have to make sure new deployments doesn't pick this version to avoid this issue |
@abbasogaji just fix version to 0.3.1 for now. that's the quickest way. and then update version and refactor code of microservices one by one. |
572,670 Downloads a week but this package is claiming since in version 0 it still can have a party and do whatever it wants. The MINOR version should have at least been changed. |
Working as intended, the signature has changed in 0.3.2. It has been deprecated and republished with some extra changes as 0.4.0. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
Minimal code-snippet showcasing the problem
Expected behavior
Actual behavior
The text was updated successfully, but these errors were encountered: