Skip to content

Design for Data Model Extensibility #13

@mitsuhiko

Description

@mitsuhiko

There are many situations where libraries want to add support for data types not native to a serialization library. The following use cases are known but do not have equivalents in the data model today:

  • i128 / u128
  • DateTime and DateTime<Tz>
  • UUID
  • Decimal
  • BigNum

Additionally there are cases I ran into in the past where for a compound type additional information would have been useful too for instance to distinguish sets from vectors.

Today serde relies on in-band signalling to pass such data. Preferable there is a better way to accomplish this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    designDesign considerationsenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions