Commit 659546e
committed
minor #12413 [Workflow] Removed note about flushing in
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` evententered event (lyrixx)1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
264 | | - | |
| 263 | + | |
265 | 264 | | |
266 | 265 | | |
267 | 266 | | |
| |||
0 commit comments