Skip to content

Commit 46762da

Browse files
committed
Change TypeNameHandling to Auto for orchestration context deserialization
1 parent 270ef8d commit 46762da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DurableSDK/Commands/Internals/SetFunctionInvocationContextCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ protected override void EndProcessing()
5252
// De-serialize the orchestration context
5353
JsonSerializerSettings serializerSettings = new JsonSerializerSettings
5454
{
55-
TypeNameHandling = TypeNameHandling.None
55+
TypeNameHandling = TypeNameHandling.Auto
5656
};
5757

5858
var context = JsonConvert.DeserializeObject<OrchestrationContext>(OrchestrationContext, serializerSettings);

0 commit comments

Comments
 (0)