protobuf-net v3 中数组或列表中的空对象

Null object in an array or list in protobuf-net v3

在 protobuf-net v2.46 中,我可以通过添加以下代码来序列化和反序列化空列表条目。

RuntimeTypeModel.Default[typeof(SerializableInnerList<MySerializableInnerObject>)][1].SupportNull = true;

但是在最新版本的 Protobuf-net(目前是 v3.0.29)中,我看到错误:'ValueMember.SupportNull.set' is obsolete: 'Nullable list elements are not currently implemented'

这是否意味着如果我想要可为 null 的列表项,我必须继续使用旧版本的 protobuf-net,或者在 protobuf-net v3 中是否有实现此目的的新方法?

现在:这根本没有实现。但与“动态类型”(我非常想取消它)不同,这个可能是我可以再看一看的——更多的是关于时间和需要发布,而不是它无法支持。让我将它添加到我的列表中。