Skip to content

Support visiting repeated Payload#216

Merged
yuandrew merged 3 commits intotemporalio:masterfrom
yuandrew:visit-repeated-paylaod
Apr 9, 2025
Merged

Support visiting repeated Payload#216
yuandrew merged 3 commits intotemporalio:masterfrom
yuandrew:visit-repeated-paylaod

Conversation

@yuandrew
Copy link
Contributor

@yuandrew yuandrew commented Apr 8, 2025

What changed?
Added support for repeated payload.

Also added a note in the VisitPayloads godoc mentioning how we don't support directly visiting payloads (see #202 (comment) for context).

Closes temporalio/sdk-go#1865 and can probably close temporalio/sdk-go#1862 as well, now that the godoc mentions this scenario.

Why?
Support an edge case scenario, only AggregationGroup today uses this.

How did you test it?
Added tests

Potential risks

@yuandrew yuandrew requested review from a team as code owners April 8, 2025 22:55
@yuandrew yuandrew enabled auto-merge (squash) April 9, 2025 16:23
@yuandrew yuandrew merged commit a4daf74 into temporalio:master Apr 9, 2025
4 checks passed
@yuandrew yuandrew deleted the visit-repeated-paylaod branch April 9, 2025 16:24
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.

[api-go] Repeated Payload not being visited [api-go] Support direct Payload's and Payload`s at top-level of Any in payload visitor

2 participants