Modify the data type of max and min in Value Properties to float64
Closed this issue ยท 3 comments
cloudxxx8 commented
๐ Feature Request
Relevant Package [REQUIRED]
This feature request is for core-metadataDescription [REQUIRED]
We have the Profile model change in
#770
The change of max and min are missing, and they should be numeric value
cloudxxx8 commented
@lenny-intel @iain-anderson after more investigation, @hahattan noticed the min and max default value will be 0 in golang, if we change it to float64. It will cause the incorrect evaluation.
Thus, we decided to revert this change for now.
iain-anderson commented
Can it work if you make them *float64 and check for nil pointers?
cloudxxx8 commented
yes, @iain-anderson , it should work. A new issue is opened for it.
#821