Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Feature Request] Opt-in support for applying codec to headers #925

Open
@cretz

Description

@cretz

Describe the solution you'd like

See temporalio/features#331. Today, headers are not passed through the codec by default here like they are in .NET and Ruby and such. We should provide an opt-in somewhere to allow this.

Users using activities and such can just use the data converter w/ the codec, but inside workflows they can't easily, only the payload converter. Ideally all non-search-attributes go through codec, but we can't blindly flip this on.

Asks:

  • Opt-in for all non-search-attribute payloads to go through codec (may need to be configured at client level)
    • Will have to update client and temporalio.bridge.worker.py's decode_activation and encode_completion
  • Confirmation via tests that all payloads go through the codec including activation/completion

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