From 51ebfd62b4597a383ab4eea1025ecd2bd4d11e95 Mon Sep 17 00:00:00 2001 From: Mark van Renswoude Date: Sun, 18 Jul 2021 14:39:18 +0200 Subject: [PATCH] Fixed validation for converge methods --- Tapeti.Flow/Default/FlowStore.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Tapeti.Flow/Default/FlowStore.cs b/Tapeti.Flow/Default/FlowStore.cs index 4fccd86..06eb01e 100644 --- a/Tapeti.Flow/Default/FlowStore.cs +++ b/Tapeti.Flow/Default/FlowStore.cs @@ -104,9 +104,7 @@ namespace Tapeti.Flow.Default if (convergeMethodInfo == null) throw new InvalidDataException($"Flow ID {flowId} references converge method '{metadata.ConvergeMethodName}' which no longer exists (continuation Id = {continuationId})"); - var convergeBinding = config.Bindings.ForMethod(convergeMethodInfo); - if (convergeBinding == null) - throw new InvalidDataException($"Flow ID {flowId} references converge method '{metadata.ConvergeMethodName}' which no longer has a binding as a message handler (continuation Id = {continuationId})"); + // Converge methods are not message handlers themselves }