Skip to content

Serialization support of fieldpaths not comprehensive #308

@jpbetz

Description

@jpbetz

During review of #292, a few pre-existing gaps in serialization support were noticed that we should really fix:

  • Overflows are possible using the value interface's IsInt/AsInt. This could happen in an aggregated API server when the writer is proto and the value type is uint64, for example.
  • Custom Marshalers (JSON or CBOR) not supported in any of the valueReflect (for aggregated, or in-tree for Quanity/Time for map key values)

Also there is this potential optimization:

  • In serialize.go, we could optimize for "out of sorted order".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions