Illustrate do proposal. by fjtirado · Pull Request #869 · serverlessworkflow/specification · GitHub
Skip to content

Illustrate do proposal.#869

Closed
fjtirado wants to merge 1 commit into
serverlessworkflow:mainfrom
fjtirado:do_proposal
Closed

Illustrate do proposal.#869
fjtirado wants to merge 1 commit into
serverlessworkflow:mainfrom
fjtirado:do_proposal

Conversation

@fjtirado

@fjtirado fjtirado commented May 30, 2024

Copy link
Copy Markdown
Collaborator

Just opened this one in the context of a slack discussion. Its not intended to be merged or reviewed and will be closed once we end the discussion.
This will allow writing (in main flow, loops and retries)
Either unnamed single tasks (this assumes singles tasks can be univocally referenced through json pointers, which I believe is a valid one)

do:
   set:

on named multiple tasks (multiple tasks needs to be named to be reference univocally)

do: 
  task1: 
    set:
do:
  task2: 
    call: http

This will prevent writing

do:
  set: 
    set: 

which is valid now for main flow (it defines a task named set which invoke set tasks)

@fjtirado fjtirado force-pushed the do_proposal branch 2 times, most recently from e00bda8 to c3788e2 Compare May 30, 2024 19:57
@matthias-pichler

Copy link
Copy Markdown
Collaborator

@fjtirado

fjtirado commented Jun 3, 2024

Copy link
Copy Markdown
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants