nice-node icon indicating copy to clipboard operation
nice-node copied to clipboard

[controllers aka node specs] Differences in how "defaultConfig" and "defaultValue" is used

Open jgresham opened this issue 6 months ago • 0 comments

Problem details

When setting execution.input.defaultConfig it forces those values to be used on the run command anytime before the user has "saved" from the node settings modal. After the user has saved from the node settings modal, ALL of the configs' defaultValues are included in the run command.

This shouldn't cause any issues, but it does mean that there are a bunch of additional default value cli input after the users saves the settings (doesn't even have to make a change to any of them). It also means that we have to explicitly include default config that should be used on every run command in 2 places execution.input.defaultConfig and as a defaultValue under the specific config.

jgresham avatar Aug 01 '24 22:08 jgresham