You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CreateMergePatch: Numbers may get truncated due to always being treated as float64 #189
Thanks for creating this library! We are using it downstream in controller-runtime and recently someone posted an issue that some of their int64s get truncated when using CreateMergePatch. From what I can tell, this is caused by numbers always being treated as float64.
Is this something that is a) realistically possible to fix and b) something you would consider changing?
Activity
evanphx commentedon Jan 11, 2024
Hiya! I'll have a look.
evanphx commentedon Jan 11, 2024
Turned out to be a fairly easy fix, just need to avoid using float64. Have a look at #194.
alvaroaleman commentedon Jan 12, 2024
That did the trick, thank you so much for looking into it!