Changed ChildWorkflowOptions::task_queue from String to Option<String>. Apparently when left empty, the task queue for child workflows is inherited from the initiating workflow. In Rust, things like this are usually expressed in the type system rather than with sentinel values -- attempt to reflect that in the SDK interface here.
Why?
Makes it more obvious that the task queue can be inherited from the initiating activity.
What was changed
Changed
ChildWorkflowOptions::task_queue
fromString
toOption<String>
. Apparently when left empty, the task queue for child workflows is inherited from the initiating workflow. In Rust, things like this are usually expressed in the type system rather than with sentinel values -- attempt to reflect that in the SDK interface here.Why?
Makes it more obvious that the task queue can be inherited from the initiating activity.