diff --git a/src/Tgstation.Server.Host/GraphQL/Scalars/SemverType.cs b/src/Tgstation.Server.Host/GraphQL/Scalars/SemverType.cs index de8c1e530a..3f6f6608af 100644 --- a/src/Tgstation.Server.Host/GraphQL/Scalars/SemverType.cs +++ b/src/Tgstation.Server.Host/GraphQL/Scalars/SemverType.cs @@ -67,7 +67,8 @@ namespace Tgstation.Server.Host.GraphQL.Scalars protected override bool IsInstanceOfType(StringValueNode valueSyntax) { ArgumentNullException.ThrowIfNull(valueSyntax); - return IsInstanceOfType(valueSyntax.Value); + return Version.TryParse(valueSyntax.Value, out var parsedVersion) + && IsInstanceOfType(parsedVersion); } ///