From 87b829c6ca5561afba137c2eb9766369b3f5cfde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Dang=C3=A5rden?= Date: Thu, 3 Sep 2026 08:59:14 +0200 Subject: [PATCH] Fixed HC Byte types --- src/Linq2GraphQL.Generator/GraphQLSchema/Helpers.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Linq2GraphQL.Generator/GraphQLSchema/Helpers.cs b/src/Linq2GraphQL.Generator/GraphQLSchema/Helpers.cs index ce538b64..8f8a23be 100644 --- a/src/Linq2GraphQL.Generator/GraphQLSchema/Helpers.cs +++ b/src/Linq2GraphQL.Generator/GraphQLSchema/Helpers.cs @@ -119,7 +119,8 @@ internal static string SafeVariableName(string name) { "DateTime", new ValueTuple("DateTimeOffset", typeof(DateTimeOffset)) }, { "Decimal", new ValueTuple("decimal", typeof(decimal)) }, { "TimeSpan", new ValueTuple("TimeSpan", typeof(TimeSpan)) }, - { "Byte", new ValueTuple("byte", typeof(byte)) }, + { "UnsignedByte", new ValueTuple("byte", typeof(byte)) }, + { "Byte", new ValueTuple("sbyte", typeof(sbyte)) }, { "LocalDate", new ValueTuple("DateOnly", typeof(DateOnly)) }, { "LocalTime", new ValueTuple("TimeOnly", typeof(TimeOnly)) }, };