Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Support Enum as workflow places #44211

Closed as not planned
Closed as not planned
@stof

Description

@stof

Discussed in #44203

Originally posted by stephanvierkant November 22, 2021
I've tried the new Enum in PHP 8.1 and I love that Symfony supports this new feature in the Form component.

I'd love to have this support in the Workflow component as well.

I've changed my status attribute from a string to an Enum field and now this doesn't work anymore:

$workflow->can($entity, $transition->getName()

I'd be great is Symfony would support Enum in the Workflow Component as well!

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureHelp wantedIssues and PRs which are looking for volunteers to complete them.Workflow

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions