From f2febf40fca842713c64d5f020d0eddd55696310 Mon Sep 17 00:00:00 2001 From: frozenreflex Date: Sun, 14 Jul 2024 02:53:27 -0500 Subject: [PATCH] Fix JsonInsertToArrayNode generic types --- ProjectObsidian/ProtoFlux/JSON/JsonInsertObjectToArrayNode.cs | 3 +-- ProjectObsidian/ProtoFlux/JSON/JsonInsertValueToArrayNode.cs | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ProjectObsidian/ProtoFlux/JSON/JsonInsertObjectToArrayNode.cs b/ProjectObsidian/ProtoFlux/JSON/JsonInsertObjectToArrayNode.cs index 6401c9a..866a7f9 100644 --- a/ProjectObsidian/ProtoFlux/JSON/JsonInsertObjectToArrayNode.cs +++ b/ProjectObsidian/ProtoFlux/JSON/JsonInsertObjectToArrayNode.cs @@ -12,8 +12,7 @@ namespace ProtoFlux.Runtimes.Execution.Nodes.Obsidian.Json; [NodeName("Insert To Array")] [NodeCategory("Obsidian/Json")] -[GenericTypes(typeof(byte), typeof(sbyte), typeof(short), typeof(ushort), typeof(int), typeof(uint), - typeof(long), typeof(ulong), typeof(float), typeof(double))] +[GenericTypes(typeof(string), typeof(Uri), typeof(IJsonToken), typeof(JsonObject), typeof(JsonArray))] public class JsonInsertObjectToArrayNode : ObjectFunctionNode { public readonly ObjectInput Array; diff --git a/ProjectObsidian/ProtoFlux/JSON/JsonInsertValueToArrayNode.cs b/ProjectObsidian/ProtoFlux/JSON/JsonInsertValueToArrayNode.cs index e25794f..1409eef 100644 --- a/ProjectObsidian/ProtoFlux/JSON/JsonInsertValueToArrayNode.cs +++ b/ProjectObsidian/ProtoFlux/JSON/JsonInsertValueToArrayNode.cs @@ -12,7 +12,8 @@ namespace ProtoFlux.Runtimes.Execution.Nodes.Obsidian.Json; [NodeName("Insert To Array")] [NodeCategory("Obsidian/Json")] -[GenericTypes(typeof(string), typeof(Uri), typeof(IJsonToken), typeof(JsonObject), typeof(JsonArray))] +[GenericTypes(typeof(byte), typeof(sbyte), typeof(short), typeof(ushort), typeof(int), typeof(uint), + typeof(long), typeof(ulong), typeof(float), typeof(double))] public class JsonInsertValueToArrayNode : ObjectFunctionNode { public readonly ObjectInput Array;