refactor(core): Remove NodeExecutionOutput. Add execution hints directly to the context (#13111)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2025-02-10 16:51:01 +01:00
committed by GitHub
parent 5dddf772cf
commit dbb9475b7b
17 changed files with 103 additions and 171 deletions

View File

@@ -11,7 +11,6 @@ import {
type IPairedItemData,
NodeConnectionType,
type NodeExecutionHint,
NodeExecutionOutput,
} from 'n8n-workflow';
import { addBinariesToItem } from './utils';
@@ -432,7 +431,9 @@ export class Aggregate implements INodeType {
}
}
if (hints.length) return new NodeExecutionOutput([[returnData]], hints);
if (hints.length) {
this.addExecutionHints(...hints);
}
}
return [[returnData]];