Skip to content

Commit cc3ece6

Browse files
committed
docs(editor): Correct the convertFieldsToString comment to match the load order
1 parent dd2cc4e commit cc3ece6

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

  • packages/frontend/editor-ui/src/features/ndv/parameters/components/ResourceMapper

packages/frontend/editor-ui/src/features/ndv/parameters/components/ResourceMapper/ResourceMapper.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,10 @@ const state = reactive({
8282
schema: [] as ResourceMapperField[],
8383
attemptToConvertTypes: false,
8484
// The execution engine no longer reads this. It stays in the saved value so an
85-
// older instance that still reads it keeps casting values instead of falling
86-
// back to the legacy uncast passthrough. Always `true` when
87-
// `showTypeConversionOptions` is set, never user-editable.
85+
// older instance that still reads it keeps casting instead of falling back to
86+
// the legacy uncast passthrough. `onMounted` sets it to `true` when
87+
// `showTypeConversionOptions` is set, but the stored node values spread after
88+
// that, so a persisted value survives untouched. No control ever writes it.
8889
convertFieldsToString: false,
8990
} as ResourceMapperValue,
9091
parameterValues: {} as INodeParameters,

0 commit comments

Comments
 (0)