-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[Workflow] Add support for weighted transitions #60201
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
Conversation
c2a67c1 to
5f46eb6
Compare
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php
Outdated
Show resolved
Hide resolved
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php
Outdated
Show resolved
Hide resolved
5f46eb6 to
9a13aba
Compare
|
@bkosun Thanks for the review. I addressed your comments |
src/Symfony/Component/Workflow/Validator/StateMachineValidator.php
Outdated
Show resolved
Hide resolved
src/Symfony/Bundle/FrameworkBundle/Resources/config/schema/symfony-1.0.xsd
Outdated
Show resolved
Hide resolved
9a13aba to
7758d3d
Compare
|
Thanks for the review, I addressed your comments, and also rebased. |
|
I don't get why the tests are broken: since I put "require-dev": {
"symfony/workflow": "^7.4|^8.0",in |
nicolas-grekas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rebase needed + some thoughts.
7758d3d to
15848ab
Compare
|
Comment addressed, an PR rebased |
15848ab to
a52f9a3
Compare
nicolas-grekas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM after some CS fixes
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php
Outdated
Show resolved
Hide resolved
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php
Outdated
Show resolved
Hide resolved
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php
Outdated
Show resolved
Hide resolved
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php
Outdated
Show resolved
Hide resolved
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php
Outdated
Show resolved
Hide resolved
a52f9a3 to
c936834
Compare
c936834 to
207fc49
Compare
|
Thank you @lyrixx. |
|
@lyrixx Looking at how we use |
|
🤔 I don't remember why I did that! I guess I wanted to deprecate things at some point. Now, I don't think it worth a deprecated. I would open a PR to add real args. What do you think ? |
|
I was basically wondering because there are now different places where call these methods with |
Allow to handle complex workflow like:
Another example, based on https://demo-symfony-workflow.cleverapps.io/articles/show/1
workflow.webm