3 Replies
Hi! "branch" is to be used with steps/nest workflows. What is your use case?
At the time I wrote this suggestion I wasn't yet aware that result of branch is nested in the object by step id. I was trying to make same type as output in both branches.
In this case we can improve docs to indicate how exactly branch affects output
GitHub
[DOCS] workflow methods affecting outputs · Issue #8712 · mastra-...
Describe the Improvement Needed It was unclear for me what is actual output of such methods like branch and parallel without logging runtime values. Documentation Type Missing Information