Skip to content

Constants for individual multicodec Name/Code values #50

@Arlodotexe

Description

@Arlodotexe

It's used in many places, they're spec'd in IPIP. We have a full list of the registered ones via Ipfs.Registry.Codec.All. If we created a constant for one, we'd want the rest. That would be doable if we extracted the strings/ints passed into Register many times in static Codec() into a class of constants.

This is a doable improvement, but it's not priority right now. We can track this in an issue and move on for now.

Originally posted by @Arlodotexe in #49 (comment)

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