Skip to content

feature request: support extensible data fields #302

@tabcat

Description

@tabcat

I would like to add support for extensible data to this implementation of the IPNS record.

This could be done by:

  1. adding an optional extensibleData field to CreateOptions.
  2. adding an optional parameter extensibleData to createCborData.
  3. inside of createCborData, merge extensibleData the data object.
  4. add tests and documentation

It's not necessary to change types or add generics to the record type. Users of this feature would simply have to decode IPNSRecord.data to read any extensible fields.

Metadata

Metadata

Assignees

No one assigned

    Labels

    need/triageNeeds initial labeling and prioritization

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions