Skip to content

Additional Metadata for Schema? #192

@jamesmunns

Description

@jamesmunns

CC @max-heller and #179

There have been a couple of asks for additional schema metadata. Off the top of my head:

  • Things like max size (for bounded types, and possibly annotations for unbounded types)
  • Things like descriptions/comments (though some of this veers into postcard-rpc's Endpoints and Topics, which tend to benefit from metadata as well

Open questions would be:

  • Should (some or all of) these fields affect the schema hash calculation?
  • How can users opt-in/out of sending this information over the wire?

Metadata

Metadata

Assignees

No one assigned

    Labels

    postcard-schemaRelated to the postcard-schema crate

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions