sdk-core icon indicating copy to clipboard operation
sdk-core copied to clipboard

[Feature Request] Rust SDK add option to specify task_queue for child workflows

Open c-thiel opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe.

I can't find a way to specify the task_queue for child workflows using the rust SDK

Additional context

Currently using the rust SDK a child workflow can be started like this (from the tests): https://github.com/temporalio/sdk-core/blob/2878bab153f9593d8abbefd4c554c53f4b0fa958/core/src/core_tests/child_workflows.rs#L80C1-L98C72

Right now the ChildWorkflowOptions is missing the task_queue parameter. As a result, when converting it to a StartChildWorkflowExecution command here, the task_queue is filled via Default.

I can create a PR. It would be great if somebody could briefly confirm that extending ChildWorkflowOptions and then the transformation to the command is the way to go!

c-thiel avatar Nov 22 '23 21:11 c-thiel

@c-thiel That is the way to go - feel free to open a PR. Thanks.

Sushisource avatar Nov 23 '23 00:11 Sushisource