-
Notifications
You must be signed in to change notification settings - Fork 911
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
Math transform schema validation error when multiplying integer with integer (integer vs float64) #5081
Comments
Hi! Thanks for reporting this and for the analysis @chlunde! 🙏 The error should definitely use
In this case, we assume all outputs of Math transforms to be |
Actually we could have inferred it, if Multiply: the multiplier is always an ClampMin/Max: it's a bit trickier, in this case the implementation always returns an |
Crossplane does not currently have enough maintainers to address every issue and pull request. This issue has been automatically marked as |
/fresh |
Crossplane does not currently have enough maintainers to address every issue and pull request. This issue has been automatically marked as |
What happened?
Transform failed when upgrading to crossplane 1.14.3:
Log message:
Reproducer unit test:
How can we reproduce it?
Add a transform that multiplies two integers and store it into an integer, see above
I think it would also be helpful to log transformsOutputType as the current message
integer != integer
is confusing :)What environment did it happen in?
Crossplane version: 1.14.3
The text was updated successfully, but these errors were encountered: