You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/ServerlessWorkflow.Sdk.Builders/ForTaskDefinitionBuilder.cs
+2-2
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,7 @@ public override ForTaskDefinition Build()
80
80
if(string.IsNullOrWhiteSpace(this.EachVariableName))thrownewNullReferenceException("The variable name used to store the iterated items must be set");
81
81
if(string.IsNullOrWhiteSpace(this.InExpression))thrownewNullReferenceException("The runtime expression used to resolve the collection to iterate must be set");
82
82
if(this.Tasks==null||this.Tasks.Count<1)thrownewNullReferenceException("The task to perform at each iteration must be set");
83
-
returnnew()
83
+
returnthis.Configure(new()
84
84
{
85
85
For=new()
86
86
{
@@ -89,7 +89,7 @@ public override ForTaskDefinition Build()
0 commit comments