Skip to content

Commit

Permalink
Fixed URL-safe ID serialization (#7725)
Browse files Browse the repository at this point in the history
  • Loading branch information
PascalSenn authored Nov 16, 2024
1 parent d8ef063 commit 5c2a86a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 5c2a86a

Please sign in to comment.