From 06cc8fa04100fd9adfe0901909bf24c3fa5dd2c4 Mon Sep 17 00:00:00 2001 From: Quinn Klassen Date: Fri, 4 Oct 2024 23:57:28 -0700 Subject: [PATCH] Add note on SerializationContext for Nexus --- .../java/io/temporal/payload/context/SerializationContext.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/temporal-sdk/src/main/java/io/temporal/payload/context/SerializationContext.java b/temporal-sdk/src/main/java/io/temporal/payload/context/SerializationContext.java index 41d94e4ab..d10e72611 100644 --- a/temporal-sdk/src/main/java/io/temporal/payload/context/SerializationContext.java +++ b/temporal-sdk/src/main/java/io/temporal/payload/context/SerializationContext.java @@ -56,6 +56,9 @@ * PayloadConverter#withContext(SerializationContext)} and using the modified instance when * applicable. * + *

Nexus operations inside a workflow do NOT have a {@link WorkflowSerializationContext} because + * it is not available in the operation handler. + * *

Note: Serialization Context is experimental feature, the class and field structure of {@link * SerializationContext} objects may change in the future. There may be also situation where the * context is expected, but is not currently provided.