Skip to content

Optionally allow encoding PhantomData<T> types #191

@SkymanOne

Description

@SkymanOne

paritytech/substrate#14750 introduces the persistence of some configured types in the metadata. It uses PhantomData<T> to express these types as they don't need to get instantiated.

However, due to #111 these types are not reflected in the metadata.

Is it possible to add an optional flag to persist these fields in the metadata?

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