Browse Source

Localizable false for node names

pull/495/head
Ionite 9 months ago
parent
commit
27dd1576cb
No known key found for this signature in database
  1. 5
      StabilityMatrix.Core/Models/Api/Comfy/Nodes/ComfyTypedNodeBase.cs

5
StabilityMatrix.Core/Models/Api/Comfy/Nodes/ComfyTypedNodeBase.cs

@ -1,4 +1,5 @@
using System.Reflection; using System.ComponentModel;
using System.Reflection;
using System.Text.Json.Serialization; using System.Text.Json.Serialization;
using StabilityMatrix.Core.Attributes; using StabilityMatrix.Core.Attributes;
using StabilityMatrix.Core.Models.Api.Comfy.NodeTypes; using StabilityMatrix.Core.Models.Api.Comfy.NodeTypes;
@ -8,6 +9,7 @@ namespace StabilityMatrix.Core.Models.Api.Comfy.Nodes;
public abstract record ComfyTypedNodeBase public abstract record ComfyTypedNodeBase
{ {
[Localizable(false)]
protected virtual string ClassType protected virtual string ClassType
{ {
get get
@ -28,6 +30,7 @@ public abstract record ComfyTypedNodeBase
} }
} }
[Localizable(false)]
[JsonIgnore] [JsonIgnore]
public required string Name { get; init; } public required string Name { get; init; }

Loading…
Cancel
Save