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

@@ -16,7 +16,6 @@ import type {
import {
BINARY_ENCODING,
NodeApiError,
NodeExecutionOutput,
NodeConnectionType,
NodeOperationError,
jsonParse,
@@ -1002,16 +1001,11 @@ export class HttpRequestV3 implements INodeType {
returnItems[0].json.data &&
Array.isArray(returnItems[0].json.data)
) {
return new NodeExecutionOutput(
[returnItems],
[
{
message:
'To split the contents of data into separate items for easier processing, add a Split Out node after this one',
location: 'outputPane',
},
],
);
this.addExecutionHints({
message:
'To split the contents of data into separate items for easier processing, add a Split Out node after this one',
location: 'outputPane',
});
}
return [returnItems];