fix( Switch Node): Disable expressions for Number of Outputs in v3.3 (#19075)

Co-authored-by: Roman Davydchuk <roman.davydchuk@n8n.io>
This commit is contained in:
Shireen Missi
2025-09-12 11:46:09 +02:00
committed by GitHub
parent a13961179f
commit f37e9da13a
3 changed files with 70 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ export class Switch extends VersionedNodeType {
iconColor: 'light-blue',
group: ['transform'],
description: 'Route items depending on defined expression or rules',
defaultVersion: 3.2,
defaultVersion: 3.3,
};
const nodeVersions: IVersionedNodeType['nodeVersions'] = {
@@ -23,6 +23,7 @@ export class Switch extends VersionedNodeType {
3: new SwitchV3(baseDescription),
3.1: new SwitchV3(baseDescription),
3.2: new SwitchV3(baseDescription),
3.3: new SwitchV3(baseDescription),
};
super(nodeVersions, baseDescription);