Skip to content

Use enum literal instead of toString for datatype conversion #209

@jklingsporn

Description

@jklingsporn

If enum contains a dash (-) it's converted to an underscore (_). E.g. enum value of 'my-type' becomes 'my_type'-Enum and thus returns 'my_type' on it's toString()/name() methods.

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