mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Initial support of sequence rules for SWITCH node (#1545)
* new UI for parts support of SWITCH node * update UI of SWITCH node for parts support * add server side code of new SWITCH node * update info document of SWITCH node * add tests for new SWITCH node features * add test for too many pending messages & related fixes * fix handling when msg is undefined * tabs -> spaces * fixed meaning of "repair sequence" in SWITCH node docs * add a note on restricting internally kept messages * change label and position in menu of "pos. between" rule * fixed typos (again, sorry)
This commit is contained in:
		
				
					committed by
					
						
						Nick O'Leary
					
				
			
			
				
	
			
			
			
						parent
						
							218794be77
						
					
				
				
					commit
					6310de0d20
				
			@@ -541,7 +541,8 @@
 | 
			
		||||
    "switch": {
 | 
			
		||||
        "label": {
 | 
			
		||||
            "property": "Property",
 | 
			
		||||
            "rule": "rule"
 | 
			
		||||
            "rule": "rule",
 | 
			
		||||
            "repair" :  "repair sequence (reconstruct parts property of outgoing messages)"
 | 
			
		||||
        },
 | 
			
		||||
        "and": "and",
 | 
			
		||||
        "checkall": "checking all rules",
 | 
			
		||||
@@ -555,10 +556,15 @@
 | 
			
		||||
            "false":"is false",
 | 
			
		||||
            "null":"is null",
 | 
			
		||||
            "nnull":"is not null",
 | 
			
		||||
            "head":"head",
 | 
			
		||||
            "tail":"tail",
 | 
			
		||||
            "index":"is between",
 | 
			
		||||
            "exp":"JSONata exp",
 | 
			
		||||
            "else":"otherwise"
 | 
			
		||||
        },
 | 
			
		||||
        "errors": {
 | 
			
		||||
            "invalid-expr": "Invalid JSONata expression: __error__"
 | 
			
		||||
            "invalid-expr": "Invalid JSONata expression: __error__",
 | 
			
		||||
            "too-many" : "too many pending messages in switch node"
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "change": {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user