@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 CHANGED
@@ -48,6 +48,10 @@ function deepCloneFilter(input, filterOut = () => false) {
48
48
  while (stack.length) {
49
49
  const { source, target, key } = stack.pop();
50
50
  const currentTarget = key !== void 0 ? target[key] : target;
51
+ if (key === "__taskInstance" || key === "__routineInstance" || key === "__task" || key === "__routine") {
52
+ target[key] = source;
53
+ continue;
54
+ }
51
55
  for (const [k, value] of Object.entries(source)) {
52
56
  if (filterOut(k)) continue;
53
57
  if (value && typeof value === "object") {
@@ -723,6 +727,9 @@ var GraphNode = class _GraphNode extends SignalEmitter {
723
727
  this.splitGroupId = routineExecId;
724
728
  this.debug = debug;
725
729
  this.verbose = verbose;
730
+ if (!this.task || !this.task.validateInput) {
731
+ console.log("task not found", this.task, this.context);
732
+ }
726
733
  }
727
734
  setDebug(value) {
728
735
  this.debug = value;