-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Description
Q | A |
---|---|
Bug report? | no |
Feature request? | yes |
BC Break report? | yes/no |
RFC? | yes/no |
Symfony version | 3.3 |
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