Closed markboots closed 3 years ago
👍 on making the first block & exit blocks more explicit. Is there a reason the exit_block_id is optional? When would one not want one and would an exit block value of null
be more explicit if an exit block isn't needed?
Is there a reason the exit_block_id is optional? When would one not want one and would an exit block value of null be more explicit if an exit block isn't needed?
Lots of the flows we see from our users don't have an "exit handling" section of blocks. Rather, they just follow the wires until getting to the point where there are no more blocks, and then the flow ends. An exit handling section of the flow (jumped to via exit_block_id) was seen as optional.
We could enforce that the exit_block_id key must exist, but can be null for no exit handling. Is there a preference for that over interpreting no exit_block_id key as null?
Two additional cleanups the dev team proposed from experience on the open-source Flow Runner and Flow Builder:
\
to .
, to avoid needing to double-escape it in languages that use \
as an escape character (and challenges with multiple layers of escaping).platform_metadata
to vendor_metadata
for better clarity; platform has many ambiguous meanings.
In the course of developing the open-source Flow Runner and Flow Builder implementations, the dev team proposed a list of cleanups and clarifications to the spec. The following suggestions don't significantly change the behaviour or capabilities of the spec, but improve consistency and usability. (Other changes with larger functional implications have been proposed as separate issues.)