You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #12413 [Workflow] Removed note about flushing in entered event (lyrixx)
This PR was merged into the 3.4 branch.
Discussion
----------
[Workflow] Removed note about flushing in `entered` event
This sentence is confusing and lead to bad practices:
* It's not a good idea to flush in the model layer
* It can lead to many calls to `flush()` method if the user uses a workflow (with many `to` places after a transition)
* It's not possible to "preview" what a transition do, because everything is flushed in the DB
Commits
-------
d7511a1 [Workflow] Removed note about flushing in `entered` event
0 commit comments