Clarify DataConverter vs PayloadConverter in data-handling docs for core-based SDKs
メンテナーはふだん 3 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 78/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 静か
- 技術スタック
- csharp, python, typescript
調査の方向性
references/dotnet/data-handling.md、references/python/data-handling.md、references/typescript/data-handling.md の Overview と default converter セクションから始めます。これらの用語と例を変更されていない Go および Java ファイルと比較し、その後、更新された各ファイルが三層モデルを説明し、Go/Java の違いを含み、対象外のファイルを変更せずに残していることを確認します。
索引モデルが issue の本文から書いたものです。
説明
Background
The current data-handling.md overviews in references/dotnet, references/python, and references/typescript treat "data converter" and "payload converter" as if they were the same thing. For example:
"The .NET SDK uses data converters to serialize/deserialize workflow inputs, outputs, and activity parameters."
This is technically imprecise for the core-based SDKs (.NET, Python, TypeScript, Ruby, Rust), where a DataConverter is a composite of three sub-components:
- PayloadConverter — converts values ↔ bytes (this is what actually performs serialization)
- PayloadCodec — bytes ↔ bytes transformation (e.g. encryption, compression)
- FailureConverter — converts exceptions ↔ serialized failures
This is distinct from Go and Java, where DataConverter is the serialization interface (methods like ToPayload/FromPayload). In those SDKs, DataConverter plays the role that PayloadConverter plays in the core-based SDKs, and codecs are layered separately via CodecDataConverter.
Because developers (and AI skills using these docs) naturally assume "data conversion" works identically across SDKs, the current framing causes confusion. The Go and Java overviews are already accurate; the three core-based SDKs need updates.
See reviewer context: https://github.com/temporalio/skill-temporal-developer/pull/39#discussion_r... and the canonical description in https://github.com/temporalio/sdk-dotnet?tab=readme-ov-file#data-conversion.
Scope
Update these three files, applying the same depth of treatment to each:
references/dotnet/data-handling.mdreferences/python/data-handling.mdreferences/typescript/data-handling.md
Do not change references/go/data-handling.md or references/java/data-handling.md — their current framing is accurate for those SDKs.
Detailed changes per file
For each of the three files above:
1. Rewrite the Overview section
Introduce the three-layer model explicitly. Suggested structure:
The SDK uses a
DataConverterto move values between the SDK and the Temporal Service. ADataConverteris a composite of three sub-components:
- PayloadConverter — serializes values to/from
Payloadbytes (the default handles null, byte arrays, Protobuf messages, and JSON-serializable types).- PayloadCodec — transforms payload bytes (e.g. for encryption or compression).
- FailureConverter — serializes exceptions/errors to/from Temporal
Failureprotobufs.Most customization happens at the
PayloadConverterlayer. Encryption and compression belong in aPayloadCodec. Custom exception serialization belongs in aFailureConverter.
Adjust wording per-SDK to match idiomatic terms (e.g., Python uses failure_converter, TypeScript uses failureConverter, .NET uses FailureConverter).
2. Rename "Default Data Converter" → "Default Payload Converter"
The existing section that lists supported types (null, byte[], Protobuf, JSON, etc.) is describing what the default payload converter supports, not the DataConverter as a whole. Rename the section and adjust the leading sentence accordingly.
3. Review code examples
Make sure customization examples show the three-layer structure clearly — e.g., that overriding serialization means replacing the PayloadConverter inside DataConverter.Default, not replacing the DataConverter itself. (The current .NET example is already correct here; verify Python and TypeScript.)
4. Cross-reference
Add a short note in each updated overview that Go and Java use a different model (their DataConverter is the serialization interface) so readers don't transfer assumptions. One sentence is enough; avoid going into detail.
Out of scope
- Go and Java
data-handling.mdfiles. - Changes to the actual SDK code or sample repos.
- The
core/data-handling.mdfile (if it exists) — to be reviewed separately.
Acceptance criteria
- Overviews in .NET, Python, and TypeScript
data-handling.mdfiles describeDataConverteras the three-layer composite, withPayloadConverteridentified as the serialization layer. - "Default Data Converter" → "Default Payload Converter" rename applied where the section describes payload-type support.
- Each of the three files has a one-line note that Go/Java use a different model.
- Go and Java files are unchanged.
- Code examples remain accurate and compile-ready.
- 主要言語
- 言語のデータがありません
- スター
- 230
- フォーク
- 31
- 平均マージ
- 2日 6時間
- マージ済み PR(30日)
- 22
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
temporalio/skill-temporal-developer のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
temporalio/skill-temporal-developer#109 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信
-
Improve Go Saga Pattern対応中かも @brianstrauch が 16 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
temporalio/skill-temporal-developer#68 ·
メンテナーはふだん 3 日以内に返信
-
Add tracing to observability対応中かも @patbeqo が 16 日前に担当しました。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
temporalio/skill-temporal-developer#63 · 担当者 1 名 ·
メンテナーはふだん 3 日以内に返信
-
Add generalized metrics support対応中かも @patbeqo が 16 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
temporalio/skill-temporal-developer#62 · 担当者 1 名 ·
メンテナーはふだん 3 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
temporalio/skill-temporal-developer#54 ·
メンテナーはふだん 3 日以内に返信
temporalio/skill-temporal-developer の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
aws-samples/sample-per-model-bedrock#243 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
stellar/stellar-dev-skill#151 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
ajeetraina/awesome-docker-sbx#398 ·
-
content 📄
難易度 1/5 1〜3時間 初心者へのやさしさ 68/100
Qiskit/documentation#5808 ·
メンテナーはふだん 1 日以内に返信
-
fix formatting of the sample database page of the docs対応中かも @Aaqibhafeezkhan が今日担当しました。 オープンdocumentation good first issue help wanted
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
chaoss/CollectOSS#544 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信