Skip to content

[Feature Request] Serialization context for codecs and converters #434

@Quinn-With-Two-Ns

Description

@Quinn-With-Two-Ns

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

When serializing/deserializing a payload for a workflow or activity users payload codec/converter may want to know details about the payloads context. For example with workflow input/output, the context could include workflow ID. This can be useful if the users want to sign the payload with the workflowID to help protect against replay attacks.

Describe the solution you'd like

A solution similar to the Java SDK in other languages, see temporalio/sdk-java#1695. Also, make sure that the async activity client gets this context too. Note, this information needs to be available to converters too e.g. for outbound client calls, so it's not just for codecs.

Per-SDK Tickets

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