You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When un-marshalling a workflow that includes a ForTask, the task is un-marshalled as a DoTask, because the ForTask has the "do" key too, which is first in the list of the type registry. Placing the ForTask constructor with the "for" key above "do", would most likely fix the issue.
The text was updated successfully, but these errors were encountered:
https://github.com/serverlessworkflow/sdk-go/blame/ff500a090258a53544b6e5451518d390e62936cc/model/task.go#L133
When un-marshalling a workflow that includes a ForTask, the task is un-marshalled as a DoTask, because the ForTask has the "do" key too, which is first in the list of the type registry. Placing the ForTask constructor with the "for" key above "do", would most likely fix the issue.
The text was updated successfully, but these errors were encountered: