Closed yzhao244 closed 1 month ago
@yzhao244 Great catch! You are totally right!
output.from
should actually be output.as
and output.to
should be export.to
.
I'm not sure how the examples could be validated though, as the CI/CD pipeline should have caught those mistakes 😞
@cdavernas
The current schema does specify export.as
@matthias-pichler-warrify yes sorry, my bad 😉
@cdavernas @matthias-pichler-warrify Thanks guys for the comments... submitted a PR for updating this example. https://github.com/serverlessworkflow/specification/pull/936
Thanks @yzhao244! I will let the pleasure to @ricardozanini to merge it once he could review it. He's gonna be back from PTO in a couple of days 😉
In the DSL reference, I noticed the examples of Output component, I don't think I can define "from" and "to" for Output properties, right. If I am not mistaken lol, I can submit PR to correct this example.
https://github.com/serverlessworkflow/specification/blob/main/dsl-reference.md#output