huma icon indicating copy to clipboard operation
huma copied to clipboard

Issue with float64/string conversions

Open dodumosu opened this issue 4 months ago • 0 comments

I'm new to Go, so please excuse my asking this. If I use a struct containing a float64 field, I cannot pass it a string numerical value, even if the tag is like this: json:"myField,string". If I use a string field, I can't pass it a JS number value.

Is there any way around this?

dodumosu avatar Jul 30 '25 07:07 dodumosu