-
-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Labels
type:featureNew feature.New feature.
Description
I have an idea!
Currently, entity column attribute declaration can look like this:
new Cycle\Column(type: 'tinyInteger', property: 'event_type', default: EventType::CREATED->value, typecast: EventType::class),
I.e we can only use scalar values like EventType::CREATED->value as default.
Proposed improvement suggestion is to allow using enum cases without converting to underlying scalar value like so:
new Cycle\Column(type: 'tinyInteger', property: 'event_type', default: EventType::CREATED, typecast: EventType::class),
Metadata
Metadata
Assignees
Labels
type:featureNew feature.New feature.
Type
Projects
Status
Todo