Skip to content

Type traits for load_minimal use incorrect archive when looking up save_minimal return type #79

@DrAWolf

Description

@DrAWolf

I still think that the following is relevant for others besides me

I want to serialize enums to strings for text archives, while for binary I want to use standard serialization as an int.
(For my own classes, I want to define a standard serialization, but as soon as I define a string serialization, I want it to be applied for all text archives, while for binary the standard is applied.)

After trying for 2h, I gave up.
Could you come up with a convenient way to do this?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions