mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
refactor(core): Remove NodeExecutionOutput. Add execution hints directly to the context (#13111)
This commit is contained in:
committed by
GitHub
parent
5dddf772cf
commit
dbb9475b7b
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user