SwiftData
SwiftData copied to clipboard
Fix the issue that can not read Int64
Int64 can be saved to database, but if the Int64 is bigger than Int32.Max, when read that number back from database, it is an unexpected value.
Hi Regis, Thank you for pointing out. After a second thought, I think my solution is not 100%, especially for 32bit device. So I just made another commit to make sure it works both on 32/64 bits device/simulator.
I tested your new commit to both 32 bits and 64 bits simulators. It seems to be working as expected. Tks.
Great. Thank you for all the feedback! :+1: