Skip to content

💥 Use ActivitySerializationContext when starting and getting result of Standalone Activity - #3063

Open
maciejdudko wants to merge 2 commits into
temporalio:mainfrom
maciejdudko:saa-serialization-context
Open

💥 Use ActivitySerializationContext when starting and getting result of Standalone Activity#3063
maciejdudko wants to merge 2 commits into
temporalio:mainfrom
maciejdudko:saa-serialization-context

Conversation

@maciejdudko

Copy link
Copy Markdown
Contributor

💥 BREAKING CHANGE

ActivitySerializationContext.activityType and activityTaskQueue are now @Nullable because they are unavailable when fetching result.

What was changed

  • Added ActivitySerializationContext to DataConverter used for de/serialization of payloads in ActivityClient.start and ActivityHandle.getResult.
  • Changed ActivitySerializationContext.activityType and activityTaskQueue to @Nullable.

Why?

Makes it possible to use context-aware data converters with Standalone Activities.

@maciejdudko
maciejdudko requested a review from a team as a code owner September 10, 2026 18:46
@maciejdudko maciejdudko changed the title Use ActivitySerializationContext when starting and getting result of Standalone Activity 💥 Use ActivitySerializationContext when starting and getting result of Standalone Activity Sep 10, 2026
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