Skip to content

Bundle does not handle numeric values #13

@frostieDE

Description

@frostieDE

This bundle only supports Enums with string values. For instance, if you're using numeric enum values, creating the enum from a database value does throw this error:

Value '2' is not part of the enum App\YourEnum

The alternative Doctrine Enum Type supports value casting. I propose this library should support such feature as well.

PR is coming in later 😉

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions