-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Workflow] Initialize without any pre-configured workflows #24051
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I think the trick is to support |
Hi @ro0NL I tried ~ (same idea ^^) but didn't work out. Also tried with an empty array but then the validation kicks in as it iterates the content and fails the validation (unfortunately). Thanks |
Yeah we need to patch that first :) |
see #24093 |
…xplicitly (xabbuh) This PR was merged into the 3.4 branch. Discussion ---------- [FrameworkBundle] be able to enable workflow support explicitly | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #24051 | License | MIT | Doc PR | Commits ------- eaa506f be able to enable workflow support explicitly
Hi everyone
I am looking into the workflow component as it would pose a very interesting solution for many use cases we are facing.
We are especially looking into dynamically working with the workflows and initializing them.
But there is one thing, I want to ask if reasonable to change in line https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php#L476
Does it make sense, to not load the services if no global workflows are configured? Right now, I have defined a dummy workflow to be able to access the registry to add additional, dynamic workflows.
If at least everything is initialized from the beginning, the registry could be used later on to configure workflows more dynamically.
Does that make sense what I am babbling about ^^? Or is there a specific reason for the current design decision I do not see?
Thanks a lot in advance
The text was updated successfully, but these errors were encountered: