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

@@ -19,7 +19,7 @@ export class IfV2 implements INodeType {
constructor(baseDescription: INodeTypeBaseDescription) {
this.description = {
...baseDescription,
version: [2, 2.1],
version: [2, 2.1, 2.2],
defaults: {
name: 'If',
color: '#408000',
@@ -39,6 +39,7 @@ export class IfV2 implements INodeType {
filter: {
caseSensitive: '={{!$parameter.options.ignoreCase}}',
typeValidation: getTypeValidationStrictness(2.1),
version: '={{ $nodeVersion >= 2.2 ? 2 : 1 }}',
},
},
},