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,