feat: Filter parameter: Improve loose type validation for booleans (#10702)

This commit is contained in:
Elias Meire
2024-09-09 09:54:36 +02:00
committed by GitHub
parent b18313f219
commit e9b8d99084
14 changed files with 261 additions and 22 deletions

View File

@@ -50,7 +50,7 @@ export class SwitchV3 implements INodeType {
this.description = {
...baseDescription,
subtitle: `=mode: {{(${capitalize})($parameter["mode"])}}`,
version: [3, 3.1],
version: [3, 3.1, 3.2],
defaults: {
name: 'Switch',
color: '#506000',
@@ -160,6 +160,7 @@ export class SwitchV3 implements INodeType {
filter: {
caseSensitive: '={{!$parameter.options.ignoreCase}}',
typeValidation: getTypeValidationStrictness(3.1),
version: '={{ $nodeVersion >= 3.2 ? 2 : 1 }}',
},
},
},