mirror of
https://github.com/n8n-io/n8n.git
synced 2026-05-30 16:26:59 +02:00
When two nodes share the same name, addNodeWithSubnodes() auto-renames the second (e.g., "Process" → "Process 1"). However, add() and to() were using node.name instead of the returned map key, causing subsequent connections to target the wrong node. - Capture addNodeWithSubnodes return value for _currentNode in add() - Add InputTarget handling to workflow-level to() method - Merge existing/new node paths in to() using idempotent addNodeWithSubnodes - Add InputTarget overload to WorkflowBuilder interface Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| @n8n | ||
| cli | ||
| core | ||
| extensions/insights | ||
| frontend | ||
| node-dev | ||
| nodes-base | ||
| testing | ||
| workflow | ||