This is an automated email from the ASF dual-hosted git repository.

blankensteiner pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-dotpulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 6448b84  Let's see if this fixes the bug in protobuf-net
6448b84 is described below

commit 6448b847099001af2af749cf7cf047cc781cb4a6
Author: Daniel Blankensteiner <[email protected]>
AuthorDate: Wed Jul 17 09:02:41 2024 +0200

    Let's see if this fixes the bug in protobuf-net
---
 src/DotPulsar/Internal/Serializer.cs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/DotPulsar/Internal/Serializer.cs 
b/src/DotPulsar/Internal/Serializer.cs
index 7be7e64..542f700 100644
--- a/src/DotPulsar/Internal/Serializer.cs
+++ b/src/DotPulsar/Internal/Serializer.cs
@@ -19,6 +19,8 @@ using System.Buffers;
 
 public static class Serializer
 {
+    static Serializer() => Serialize(new BaseCommand()); //Let's see if this 
fixes the bug in protobuf-net
+
     public static T Deserialize<T>(ReadOnlySequence<byte> sequence) => 
ProtoBuf.Serializer.Deserialize<T>(sequence);
 
     public static ReadOnlySequence<byte> Serialize(BaseCommand command)

Reply via email to