Skip to content

Commit

Permalink
Fix JsonInsertToArrayNode generic types
Browse files Browse the repository at this point in the history
  • Loading branch information
Frozenreflex committed Jul 14, 2024
1 parent a33a54f commit f2febf4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<T> : ObjectFunctionNode<FrooxEngineContext, JsonArray>
{
public readonly ObjectInput<JsonArray> Array;
Expand Down
3 changes: 2 additions & 1 deletion ProjectObsidian/ProtoFlux/JSON/JsonInsertValueToArrayNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<T> : ObjectFunctionNode<FrooxEngineContext, JsonArray>
{
public readonly ObjectInput<JsonArray> Array;
Expand Down

0 comments on commit f2febf4

Please sign in to comment.