feat(compute-parameters): add valueType with parse option and string by default (#2025)

* feat(compute-parameters): add valueType with parse option and string by default

* test(compute-parameters): write tests for valueType with parse and undefined

* fix(compute-parameters): cover valueType = parse in nested objects

* test(compute-parameters): cover valueType = 'parse' in nested non-primitives

* fix(compute-parameters): mark fields optional
This commit is contained in:
Ali BARIN
2024-08-22 16:20:18 +02:00
committed by GitHub
parent 66f5003d91
commit a4ec7b3047
6 changed files with 448 additions and 96 deletions

View File

@@ -31,8 +31,11 @@ export const processAction = async (options) => {
execution_id: $.execution.id,
});
const stepSetupAndDynamicFields = await step.getSetupAndDynamicFields();
const computedParameters = computeParameters(
$.step.parameters,
stepSetupAndDynamicFields,
priorExecutionSteps
);