diff --git a/dotnet/samples/04-hosting/DurableWorkflows/ConsoleApps/06_WorkflowSharedState/Executors.cs b/dotnet/samples/04-hosting/DurableWorkflows/ConsoleApps/06_WorkflowSharedState/Executors.cs index c0c8cfd097..57d2964c0c 100644 --- a/dotnet/samples/04-hosting/DurableWorkflows/ConsoleApps/06_WorkflowSharedState/Executors.cs +++ b/dotnet/samples/04-hosting/DurableWorkflows/ConsoleApps/06_WorkflowSharedState/Executors.cs @@ -31,6 +31,7 @@ internal sealed record AuditEntry(string Step, string Timestamp, string Detail); /// If the order ID starts with "INVALID", the executor halts the workflow early /// using . /// +[YieldsOutput(typeof(string))] internal sealed class ValidateOrder() : Executor("ValidateOrder") { public override async ValueTask HandleAsync( @@ -73,6 +74,7 @@ internal sealed class ValidateOrder() : Executor("Validate /// Uses ReadOrInitStateAsync to lazily initialize a shipping tier. /// Demonstrates custom scopes by writing shipping details under the "shipping" scope. /// +[YieldsOutput(typeof(string))] internal sealed class EnrichOrder() : Executor("EnrichOrder") { public override async ValueTask HandleAsync(