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
[Workflow] Draft: Add Enum Support to Workflow component #48919
base: 6.3
Are you sure you want to change the base?
Conversation
bartrail
commented
Jan 8, 2023
Q | A |
---|---|
Branch? | 6.3 |
Bug fix? | no |
New feature? | yes |
Deprecations? | no |
Tickets | Fix #44211 |
License | MIT |
Doc PR | symfony/symfony-docs#... |
Hey! To help keep things organized, we don't allow "Draft" pull requests. Could you please click the "ready for review" button or close this PR and open a new one when you are done? Note that a pull request does not have to be "perfect" or "ready for merge" when you first open it. We just want it to be ready for a first review. Cheers! Carsonbot |
Hey! I see that this is your first PR. That is great! Welcome! Symfony has a contribution guide which I suggest you to read. In short:
Review the GitHub status checks of your pull request and try to solve the reported issues. If some tests are failing, try to see if they are failing because of this change. When two Symfony core team members approve this change, it will be merged and you will become an official Symfony contributor! I am going to sit back now and wait for the reviews. Cheers! Carsonbot |
@@ -48,15 +48,15 @@ public function __construct(array $places, array $transitions, string|array $ini | |||
} | |||
|
|||
/** | |||
* @return string[] | |||
* @return Place[] |
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.
Switching from strings to your new class everywhere will break a lot of applications that currently use the component. You'll need to find another way.
This was rejected in the past. I don't have the PR/issue at hand |
Sorry, I overlooked the referenced issue.
Sure, go ahead then |
This PR contains lots of BC breaks, and so it is a no-go as is. That's one of the reason why @lyrixx assessed that the feature is probably not worth the effort: you did less than half of the effort for now. |
I just opened the PR as draft so nothing is finished for now :) I am sure aware of the BC breaks and most of the tests are failing. So I will have a closer look at the BC concerns. Regarding the |