We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df5aa82 commit c2a5593Copy full SHA for c2a5593
src/nodes/core/Node.js
@@ -749,7 +749,12 @@ class Node extends EventDispatcher {
749
750
} else if ( buildStage === 'generate' ) {
751
752
- const isGenerateOnce = this.generate.length === 1;
+ // If generate has just one argument, it means the output type is not required.
753
+ // This means that the node does not handle output conversions internally,
754
+ // so the value is stored in a cache and the builder handles the conversion
755
+ // for all requested output types.
756
+
757
+ const isGenerateOnce = this.generate.length < 2;
758
759
if ( isGenerateOnce ) {
760
0 commit comments