diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-07-25 16:31:15 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-07-25 16:34:59 -0300 |
commit | 91fb34c3ec48483d6f451ff74b266799ce0e5e42 (patch) | |
tree | 976e278ea1739eb67c1df8a9d7669a04509b82c7 /src/data/composite | |
parent | d669d0e8c7c4bc98f4c93de6cf29bb570e0f75e2 (diff) |
composite: expose used default{Dependency,Value} at instantiate
There used to be a cool description here, but then vim ate it.
Diffstat (limited to 'src/data/composite')
-rw-r--r-- | src/data/composite/control-flow/raiseOutputWithoutDependency.js | 2 | ||||
-rw-r--r-- | src/data/composite/control-flow/raiseOutputWithoutUpdateValue.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/data/composite/control-flow/raiseOutputWithoutDependency.js b/src/data/composite/control-flow/raiseOutputWithoutDependency.js index 3d04f8a9..03d8036a 100644 --- a/src/data/composite/control-flow/raiseOutputWithoutDependency.js +++ b/src/data/composite/control-flow/raiseOutputWithoutDependency.js @@ -17,7 +17,7 @@ export default templateCompositeFrom({ outputs: ({ [input.staticValue('output')]: output, - }) => Object.keys(output ?? {}), + }) => Object.keys(output), steps: () => [ withResultOfAvailabilityCheck({ diff --git a/src/data/composite/control-flow/raiseOutputWithoutUpdateValue.js b/src/data/composite/control-flow/raiseOutputWithoutUpdateValue.js index ffa83a94..3c39f5ba 100644 --- a/src/data/composite/control-flow/raiseOutputWithoutUpdateValue.js +++ b/src/data/composite/control-flow/raiseOutputWithoutUpdateValue.js @@ -16,7 +16,7 @@ export default templateCompositeFrom({ outputs: ({ [input.staticValue('output')]: output, - }) => Object.keys(output ?? {}), + }) => Object.keys(output), steps: () => [ withResultOfAvailabilityCheck({ |