Open dwSun opened 2 days ago
This is related to JS number range, not a bug in Wails. Try using any JS console, set value 5_130_080_350_652_859_609 to a variable and print it.
Is it possible to provide a warning about possible data truncation issues when using int64.
Description
I'm passing data between golang and the front end, there are two fields, one data field uses int64 but the number is larger, the other is timestamp. the last few digits of the data field are truncated to 0, which is causing some issues with running.
To Reproduce
Just set a function in golang that returns an int64.
Expected behaviour
Both data fields should be returned properly, or a hint should be provided about the truncation of the int64 data field.
Screenshots
Attempted Fixes
我现在用string代替了int64,但是用起来不是很方便
System Details
Additional context
No response