Skip to content

Support Compact types #8

@ascjones

Description

@ascjones

I just had a chat with @jacogr yesterday and we came to the conclusion that we also need support for Compact types. We could implement those into our format in 3 different ways and I do not know which one is the best.

  • We could provide a flag that states whether some type is compact encoded, similar to how it has been done for displayName in ink!.
  • We could provide another built-in type alongside the others like Slice and Array that is Compact and has a single generic parameter.
  • We could make it a custom type that has special meaning and a prelude namespace.

Originally posted by @Robbepop in #3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions