Skip to content

Add Memo field to ScheduleUpdate for schedule memo updates#2238

Draft
chaptersix wants to merge 2 commits intotemporalio:masterfrom
chaptersix:update-memo
Draft

Add Memo field to ScheduleUpdate for schedule memo updates#2238
chaptersix wants to merge 2 commits intotemporalio:masterfrom
chaptersix:update-memo

Conversation

@chaptersix
Copy link
Contributor

Summary

  • Adds Memo map[string]interface{} field to ScheduleUpdate struct
  • Encodes and passes memo in the Update method using merge semantics matching workflow.UpsertMemo
  • Temporary replace directive for go.temporal.io/api (remove after api-go merges)

Test plan

  • go build ./... passes
  • go test ./... passes
  • Remove replace directive after api-go is tagged

Adds Memo map[string]interface{} to ScheduleUpdate struct and encodes
it in the Update method using getWorkflowMemo with merge semantics.
Memo on schedule update now replaces the entire memo rather than
merging, matching the behavior of search_attributes.
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.

1 participant