I am doing an update of my protobuf-net library reference, specifically from 2.4.4 to 3.0.101. Previously, we used null
in lists as they contain meaningful information to the business (e.g., new[] { "one", "two", null, null, "five" }
). However, they are not supported in 3.x yet as far as I understand (https://protobuf-net.github.io/protobuf-net/releasenotes#).
Is there a suggested migration strategy for collections with nulls?
I can mitigate the change going forward with additional fields (e.g., transposing the collection to a dictionary & back again on serializing/deserializing), however backwards compatibility seems broken for data serialied with 2.x libraries. Are there any migration guides?