Open ashish-gupta-2 opened 1 year ago
Thanks for this! Are you using a build from git main or is this the latest downloaded version?
@tliron We are using the latest downloaded version v0.20.1
Could you please test with the latest git build? It should be very easy, see this guide.
Will try that , are you planning to release latest git code main branch . Last release(v0.20.1) happened on 28-Feb-2022
There is a major fix I've been working for a while regarding constraints. As soon as it's fixed and tested I will release.
It could be that the bug you've discovered still exists, I just want to make sure, it sounds like something I already fixed.
The recent commits made a major refactoring to how values and function calls are parsed, normalized, and coerced. Could you please check now with the recent commit and let me know if you have issues? Otherwise, is there a way you can share your test case with me to help debug it?
sample.yaml
function-call.go
we are using below js script for coerce in our js file
It is taking row number as float64 rather than integer due to which below issue is coming :
GoError: malformed function call, "row" not an integer: float64 at internal:tosca.lib.traversal:158:9(58)
the same thing is working fine while using CLI command :