From bd78daa9a7ddf333e8d2e06f16f5f06e03b6f64a Mon Sep 17 00:00:00 2001 From: Jedrzej Kosinski Date: Tue, 4 Nov 2025 19:41:14 -0800 Subject: [PATCH] Make match type receive_type pass validation --- comfy_execution/validation.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/comfy_execution/validation.py b/comfy_execution/validation.py index 1cd73f0ca..5bf842536 100644 --- a/comfy_execution/validation.py +++ b/comfy_execution/validation.py @@ -1,4 +1,5 @@ from __future__ import annotations +from comfy_api.latest import IO def validate_node_input( @@ -23,6 +24,11 @@ def validate_node_input( if not received_type != input_type: return True + # If the received type is a MatchType, we can return immediately; + # validation for this is handled by the frontend + if received_type == IO.MatchType.io_type: + return True + # If input_type is a Combo, frontend permits a Combo output to be connected, # but it is defined as a tuple of values with V3 schema. # This probably should be dealt with sending one thing to the frontend and another to the backend,