Closed
Description
I have been thinking about this for a while, so it's time to open a RFC!
The workflow definition is redundant. You have to define the places twice:
- in the
places
- in the
transitions
Example:
framework:
workflows:
article:
places:
- first
- last
transitions:
go:
from: first
to: last
I think we could simplify it to:
framework:
workflows:
article:
transitions:
go:
from: first
to: last
Indeed, all places could be guessed from the transitions from
s et to
s. If a
place is not reached by a transition, it become useless anyway.
Pros
- Simpler configuration
Cons
- If one made a typo between the
place
and thetransitions
transition, it's
not caught anymore
WDYT ?