Give SwarmNode a specific NodeId field and unmangle Identifier

This commit is contained in:
Jordan Dominion
2024-09-14 08:55:49 -04:00
parent dcedf3a24a
commit 886a166e56
@@ -17,13 +17,18 @@ namespace Tgstation.Server.Host.GraphQL.Types
/// <summary>
/// Represents a node server in a swarm.
/// </summary>
[Node(IdField = nameof(Identifier))]
[Node]
public sealed class SwarmNode : IServerNode
{
/// <summary>
/// The swarm server ID.
/// The node ID.
/// </summary>
[ID]
public string NodeId => Identifier;
/// <summary>
/// The swarm server ID.
/// </summary>
public string Identifier { get; }
/// <summary>