Skip to content

Commit 9fe7183

Browse files
committed
Merge branch 'hotfix/2.8.2'
2 parents aa9e13f + 2dc3059 commit 9fe7183

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Tapeti.Flow/Default/FlowStore.cs

+3
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ private void ValidateContinuation(Guid flowId, Guid continuationId, Continuation
8686
{
8787
// We could check all the things that are required for a continuation or converge method, but this should suffice
8888
// for the common scenario where you change code without realizing that it's signature has been persisted
89+
// ReSharper disable once InvertIf
8990
if (validatedMethods.Add(metadata.MethodName))
9091
{
9192
var methodInfo = MethodSerializer.Deserialize(metadata.MethodName);
@@ -97,6 +98,7 @@ private void ValidateContinuation(Guid flowId, Guid continuationId, Continuation
9798
throw new InvalidDataException($"Flow ID {flowId} references continuation method '{metadata.MethodName}' which no longer has a binding as a message handler (continuation Id = {continuationId})");
9899
}
99100

101+
/* Disabled for now - the ConvergeMethodName does not include the assembly so we can't easily check it
100102
if (string.IsNullOrEmpty(metadata.ConvergeMethodName) || !validatedMethods.Add(metadata.ConvergeMethodName))
101103
return;
102104
@@ -105,6 +107,7 @@ private void ValidateContinuation(Guid flowId, Guid continuationId, Continuation
105107
throw new InvalidDataException($"Flow ID {flowId} references converge method '{metadata.ConvergeMethodName}' which no longer exists (continuation Id = {continuationId})");
106108
107109
// Converge methods are not message handlers themselves
110+
*/
108111
}
109112

110113

0 commit comments

Comments
 (0)