Skip to content

Simple DU shall be serialized as string #30

@pchalamet

Description

@pchalamet

As of now, simple DU are serialized as objects in MongoDB. Consider this simple DU:

type Gender =
    | Male
    | Female

It is serialized as:
Image

Update the serializer to generate a string instead using the DU names - or at least having an option to change the serialization format.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions