@@ -356,7 +356,7 @@ await registration.Run(
356356 param : "hello" ,
357357 initialState : new InitialState (
358358 Messages : [ new MessageAndIdempotencyKey ( "InitialMessage" ) ] ,
359- Effects : [ new InitialEffect ( Id : 0 , Value : "InitialEffectValue" , Exception : null , Alias : "InitialEffectId" ) ]
359+ Effects : [ new InitialEffect ( Id : 0 . ToEffectId ( ) , Value : "InitialEffectValue" , Exception : null , Alias : "InitialEffectId" ) ]
360360 )
361361 ) ;
362362
@@ -394,7 +394,7 @@ await registration.Run(
394394 param : "hello" ,
395395 initialState : new InitialState (
396396 Messages : [ new MessageAndIdempotencyKey ( "InitialMessage" ) ] ,
397- Effects : [ new InitialEffect ( Id : 0 , Value : "InitialEffectValue" , Exception : null , Alias : "InitialEffectId" ) ]
397+ Effects : [ new InitialEffect ( Id : 0 . ToEffectId ( ) , Value : "InitialEffectValue" , Exception : null , Alias : "InitialEffectId" ) ]
398398 )
399399 ) ;
400400
@@ -431,7 +431,7 @@ await registration.Run(
431431 flowInstance : "hello" ,
432432 initialState : new InitialState (
433433 Messages : [ new MessageAndIdempotencyKey ( "InitialMessage" ) ] ,
434- Effects : [ new InitialEffect ( Id : 0 , Value : "InitialEffectValue" , Exception : null , Alias : "InitialEffectId" ) ]
434+ Effects : [ new InitialEffect ( Id : 0 . ToEffectId ( ) , Value : "InitialEffectValue" , Exception : null , Alias : "InitialEffectId" ) ]
435435 )
436436 ) ;
437437
@@ -468,7 +468,7 @@ await registration.Run(
468468 flowInstance : "hello" ,
469469 initialState : new InitialState (
470470 Messages : [ ] ,
471- Effects : [ new InitialEffect ( Id : "InitialEffectId" . GetHashCode ( ) , Status : WorkStatus . Started ) ]
471+ Effects : [ new InitialEffect ( Id : "InitialEffectId" . GetHashCode ( ) . ToEffectId ( ) , Status : WorkStatus . Started ) ]
472472 )
473473 ) ;
474474
@@ -503,7 +503,7 @@ await registration.Run(
503503 flowInstance : "hello" ,
504504 initialState : new InitialState (
505505 Messages : [ ] ,
506- Effects : [ new InitialEffect ( Id : 0 , Exception : new TimeoutException ( ) ) ]
506+ Effects : [ new InitialEffect ( Id : 0 . ToEffectId ( ) , Exception : new TimeoutException ( ) ) ]
507507 )
508508 ) ;
509509 Assert . Fail ( "Expected TimeoutException" ) ;
0 commit comments