Join GitHub today
[Workflow] Added a context to `Workflow::apply()` #29146
I thought it will be easy, but the Property Access does not support passing 2 arguments to a setter (super logic after all).
I don't know how to achieve this. Some randome ideas
Have you other ideas ? What do you prefer ?
Actually I prefer the 2/
@nicolas-grekas It could change someting to the end user if they use this kind of configuration:
framework: workflows: my_workflow: marking_store: type: multiple_state arguments: - 'property1.property2'
So, if no one is using this feature (we can not be sure, I know, but really I doubt someone is using it), there are no difference for the end user
@lyrixx thank you on coding this
just a question: what is the aim behind
also, how can we deal with sort of "validation" of the context?