Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"RawValue" support for non-converted payloads #603

Open
5 of 9 tasks
cretz opened this issue Feb 21, 2025 · 0 comments
Open
5 of 9 tasks

"RawValue" support for non-converted payloads #603

cretz opened this issue Feb 21, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@cretz
Copy link
Member

cretz commented Feb 21, 2025

Describe the solution you'd like

SDKs need to support a payload wrapper called "raw value" that is just a payload but it is passed through the conversion stage (but still applies to codec). Specifically, SDKs need to:

  • Have a RawValue class/wrapper/whatever that only has a single payload in it and nothing else
  • Ignore traditional payload conversion in either direction if this type is in use (needs to be in composite payload converter to ignore so it works even for customized forms, TBD in Go/Java whether codec wrappers need to skip payload converter)
  • If possible (so not Go/Java), expose payload converter without codec to activity context and workflow context so it can be used on these raw values as the activity/workflow author see fit

This is useful for a couple of use cases:

Per-SDK Tickets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant