From 5c2a86a983ff4f5c99a254ec75a07ba126551bef Mon Sep 17 00:00:00 2001 From: PascalSenn Date: Sat, 16 Nov 2024 10:24:15 +0100 Subject: [PATCH] Fixed URL-safe ID serialization (#7725) --- .../Types/Relay/Serialization/OptimizedNodeIdSerializer.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/HotChocolate/Core/src/Types/Types/Relay/Serialization/OptimizedNodeIdSerializer.cs b/src/HotChocolate/Core/src/Types/Types/Relay/Serialization/OptimizedNodeIdSerializer.cs index 6eb58166633..eebfe2e64d5 100644 --- a/src/HotChocolate/Core/src/Types/Types/Relay/Serialization/OptimizedNodeIdSerializer.cs +++ b/src/HotChocolate/Core/src/Types/Types/Relay/Serialization/OptimizedNodeIdSerializer.cs @@ -41,12 +41,12 @@ internal OptimizedNodeIdSerializer( _stringSerializerMap = boundSerializers.ToFrozenDictionary( t => t.TypeName, - t => new Serializer(t.TypeName, t.Serializer, outputNewIdFormat, _urlSafeBase64)); + t => new Serializer(t.TypeName, t.Serializer, outputNewIdFormat, urlSafeBase64)); #else _stringSerializerMap = boundSerializers.ToDictionary( t => t.TypeName, - t => new Serializer(t.TypeName, t.Serializer, outputNewIdFormat, _urlSafeBase64)); + t => new Serializer(t.TypeName, t.Serializer, outputNewIdFormat, urlSafeBase64)); #endif _serializers = allSerializers; _spanSerializerMap = new SpanSerializerMap();