Skip to content

[Feature Request] executeChild to use passed headers #1700

Open
@notusertelken

Description

@notusertelken

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

we use headers to propagate context to workflows and activities using interceptors. We start some workflows via code client and others via other workflows using executeChild. For the latter, we cant pass headers as
https://github.com/temporalio/sdk-typescript/blob/main/packages/workflow/src/workflow.ts#L844 just sets them to {}. We need to pass headers in order for our workflow started workflows to also have the same context as our code client started workflows.

Describe the solution you'd like

executeChild to take headers in the opts argument
https://github.com/temporalio/sdk-typescript/blob/main/packages/workflow/src/workflow.ts#L844

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions