-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Labels
RFCRFC = Request For Comments (proposals about features that you want to be discussed)RFC = Request For Comments (proposals about features that you want to be discussed)Workflow
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 ?
deanilvincent, fbourigault, alexandre-daubois, matyo91, JulienRAVIA and 9 more
Metadata
Metadata
Assignees
Labels
RFCRFC = Request For Comments (proposals about features that you want to be discussed)RFC = Request For Comments (proposals about features that you want to be discussed)Workflow