Skip to content

Generating Serializers with EnumSerializationMethod.ByUnderlyingValue #102

@Tinche

Description

@Tinche

Hi,

I'm using MsgPack with Unity on iOS, so I'm trying to use pregeneration of serializers (like described in https://github.com/msgpack/msgpack-cli/wiki/Xamarin-and-Unity#generate-serializers-in-advance). However, my enum serializers get generated with EnumSerializationMethod.ByName, instead of by underlying value. It doesn't look like SerializerCodeGenerationConfiguration has an option for this; is there anything that can be done?

Cheers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugDetected as bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions