nussknacker
nussknacker copied to clipboard
base nodes naming inconsistencies (aka placeholders and default values)
AS IS
-
map variable
- Id
- Variable Name
- Fields
- possibility to add many fields
- one field already added, with default values: varName, 'value'
- when we click on "+" (add fields)
- placeholder "Field name", empty input box to pass an expression
-
spel variable
- Id
- Variable Name
- Expression, default value: 'value'
-
sql variable
- Id
- Variable Name
- Expression, default value: SELECT * FROM input
-
switch
- Id
- Expression, default value: true
- exprValue, default value: output
TO BE
-
less inital values, rather placeholders
-
unified naming
-
map variable
- no initial values in Fields, just placeholders: key, 'value'
-
spel variable
- rename node to "variable" (we will allow different expression libraries?)
- Variable Name placeholder: name
- Expression placeholder: 'value'
-
sql variable
- Variable Name placeholder: name
- Expression placeholder: SELECT * FROM input
-
switch
- exprVal -> Variable Name (as variable is available later on in the flow, not only in scope of switch and outgoing edges)
- change placeholder value of Variable Name to name
-
updated docs `