temporalio / sdk-go

Temporal Go SDK
https://docs.temporal.io/application-development?lang=go
MIT License
481 stars 197 forks source link

Add a `RawValue` payload converter like exists in other SDKs #1493

Closed Sushisource closed 1 month ago

Sushisource commented 1 month ago

It's frequently useful in our own various testing environments to be able to create raw payloads in a workflow without needing to hook up custom data converters. This has come up in both features and cli testing. Users will likely find it useful for their own testing as well.

See https://github.com/temporalio/sdk-python/blob/aa26503271f58f396abfd381b5e6d496fd6bb2c1/temporalio/common.py#L151 as an example

Quinn-With-Two-Ns commented 1 month ago

Duplicate of https://github.com/temporalio/sdk-go/issues/1231

Sushisource commented 1 month ago

@Quinn-With-Two-Ns Thanks. I literally searched "RawValue" and github returned nothing. Cool.