Skip to content

feat: RawValue implementation#683

Open
xepozz wants to merge 12 commits intomasterfrom
raw-value
Open

feat: RawValue implementation#683
xepozz wants to merge 12 commits intomasterfrom
raw-value

Conversation

@xepozz
Copy link
Collaborator

@xepozz xepozz commented Dec 25, 2025

What was changed

Why?

Closes #574

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?

@xepozz xepozz requested a review from wolfy-j as a code owner December 25, 2025 11:35
@vercel
Copy link

vercel bot commented Dec 25, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
php Ready Ready Preview, Comment Feb 5, 2026 4:18pm

Request Review


use Temporal\Api\Common\V1\Payload;

class RawValueConverter extends Converter
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The other language SDKs don't use a specific converter for RawValue - rather, it is expected that RawValue always has it's inner value directly passed through as the payload (ex: what if the user wants to explicitly set some other unusual metadata encoding while using raw value? This current solution prevents that).

So, for example, in the Python SDK, the composite converter explicitly handles things typed as RawValue before delegating to other converters: https://github.com/temporalio/sdk-python/blob/b69ac9258bc13c4a3d454f4c4a8d98b4f834babe/temporalio/converter.py#L377

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Support "RawValue" non-converted values

2 participants