Skip to content

CreateMergePatch: Numbers may get truncated due to always being treated as float64 #189

@alvaroaleman

Description

@alvaroaleman

Hey there,

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?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions