From b2fa1c035ff7365eabb71a43e294568f6218b905 Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Tue, 10 Sep 2024 23:34:27 -0400 Subject: [PATCH] Fix VS complaining about a duplicate type name --- src/Tgstation.Server.Host/GraphQL/Query.cs | 6 +++--- .../GraphQL/Types/{Swarm.cs => ServerSwarm.cs} | 2 +- src/Tgstation.Server.Host/GraphQL/Types/SwarmMetadata.cs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) rename src/Tgstation.Server.Host/GraphQL/Types/{Swarm.cs => ServerSwarm.cs} (98%) diff --git a/src/Tgstation.Server.Host/GraphQL/Query.cs b/src/Tgstation.Server.Host/GraphQL/Query.cs index 1b5e581ead..ddfa8e8477 100644 --- a/src/Tgstation.Server.Host/GraphQL/Query.cs +++ b/src/Tgstation.Server.Host/GraphQL/Query.cs @@ -8,9 +8,9 @@ namespace Tgstation.Server.Host.GraphQL public sealed class Query { /// - /// Gets the . + /// Gets the . /// - /// A new . - public Types.Swarm Swarm() => new(); + /// A new . + public Types.ServerSwarm Swarm() => new(); } } diff --git a/src/Tgstation.Server.Host/GraphQL/Types/Swarm.cs b/src/Tgstation.Server.Host/GraphQL/Types/ServerSwarm.cs similarity index 98% rename from src/Tgstation.Server.Host/GraphQL/Types/Swarm.cs rename to src/Tgstation.Server.Host/GraphQL/Types/ServerSwarm.cs index 896d5f538e..e43d9c5b2e 100644 --- a/src/Tgstation.Server.Host/GraphQL/Types/Swarm.cs +++ b/src/Tgstation.Server.Host/GraphQL/Types/ServerSwarm.cs @@ -16,7 +16,7 @@ namespace Tgstation.Server.Host.GraphQL.Types /// /// Represents a tgstation-server swarm. /// - public sealed class Swarm + public sealed class ServerSwarm { /// /// Gets the for the swarm. diff --git a/src/Tgstation.Server.Host/GraphQL/Types/SwarmMetadata.cs b/src/Tgstation.Server.Host/GraphQL/Types/SwarmMetadata.cs index f0ee0bbdf0..19fe192b23 100644 --- a/src/Tgstation.Server.Host/GraphQL/Types/SwarmMetadata.cs +++ b/src/Tgstation.Server.Host/GraphQL/Types/SwarmMetadata.cs @@ -7,7 +7,7 @@ using Tgstation.Server.Host.System; namespace Tgstation.Server.Host.GraphQL.Types { /// - /// Represents information that is constant across all servers in a . + /// Represents information that is constant across all servers in a . /// public sealed class SwarmMetadata {