Skip to content

Enum Unmarshal derive should (optionally?) support a default case of either a Variant a signature (or something else?) #115

@KillingSpark

Description

@KillingSpark

The derived Unmarshal impl for enums currently returns an error when none of the expected variants have been encountered.

The best would probably be an attribute that designates one enum variant as not a "normal" variant but one that is used for that default case.

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