@cadenza.io/core 3.0.11 → 3.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -11,6 +11,10 @@ function deepCloneFilter(input, filterOut = () => false) {
|
|
|
11
11
|
while (stack.length) {
|
|
12
12
|
const { source, target, key } = stack.pop();
|
|
13
13
|
const currentTarget = key !== void 0 ? target[key] : target;
|
|
14
|
+
if (key === "__taskInstance" || key === "__routineInstance" || key === "__task" || key === "__routine") {
|
|
15
|
+
target[key] = source;
|
|
16
|
+
continue;
|
|
17
|
+
}
|
|
14
18
|
for (const [k, value] of Object.entries(source)) {
|
|
15
19
|
if (filterOut(k)) continue;
|
|
16
20
|
if (value && typeof value === "object") {
|
|
@@ -686,6 +690,9 @@ var GraphNode = class _GraphNode extends SignalEmitter {
|
|
|
686
690
|
this.splitGroupId = routineExecId;
|
|
687
691
|
this.debug = debug;
|
|
688
692
|
this.verbose = verbose;
|
|
693
|
+
if (!this.task || !this.task.validateInput) {
|
|
694
|
+
console.log("task not found", this.task, this.context);
|
|
695
|
+
}
|
|
689
696
|
}
|
|
690
697
|
setDebug(value) {
|
|
691
698
|
this.debug = value;
|