From c4a2e7d0552a0a80af3bede4cc34fb68f51989ae Mon Sep 17 00:00:00 2001 From: Raphael Date: Sun, 1 Jun 2025 22:06:45 +0200 Subject: [PATCH] fix: node value can not contain a list of reference values --- proto/shared/shared.flow.proto | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/proto/shared/shared.flow.proto b/proto/shared/shared.flow.proto index 1d19cb7..6a265bd 100644 --- a/proto/shared/shared.flow.proto +++ b/proto/shared/shared.flow.proto @@ -37,18 +37,15 @@ message NodeFunction { optional NodeFunction next_node = 4 ; } -// We need this because in the oneof cant be a "repeated" -message ManyValues { - repeated NodeValue values = 1; +message NodeFunctions { + repeated NodeFunction functions = 1; } message NodeValue { oneof value { shared.Value literal_value = 1; ReferenceValue reference_value = 2; - NodeFunction function_value = 3; - - ManyValues many_values = 4; + NodeFunctions node_functions = 3; } }