Skip to content

feat: Implementation of enum serialization #1

@4xMafole

Description

@4xMafole

Hello, thank you for creating this package for borsh it helps a lot out here. I would love to see if it supports enum serialization or if there is a walkaround within the package.

Why
As per the tests especially for the DATA_SCHEMA, there is this field missing named collectionDetails which accepts enum value as per Metaplex documentation.

The CollectionDetails is an optional enum that currently contains only one option V1. This option is a struct that contains the following field:

  • Size: The size of the collection, i.e. the number of NFTs that are directly linked to this Collection NFT. This number is automatically computed by the Token Metadata program but can also be set manually to facilitate the migration process.

Do you have any idea how I can implement that using this package? It's in my hope you will take this issue into consideration. See you👋🏾

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions