Hi, if I have a class with init properties:
[MemoryPackable(GenerateType.CircularReference, SerializeLayout.Sequential)]
public partial class MyClass
{
public string? Data { get; init; }
}
then Data property is not deserialized. Although original object has real value in this property, also serialized object has, but during deserialization is not assigned at proper time and it's just lost.
Also MemoryPack constructor cannot be used, because it expects a parameterless constructor in CircularReference generation.
Hi, if I have a class with init properties:
then
Dataproperty is not deserialized. Although original object has real value in this property, also serialized object has, but during deserialization is not assigned at proper time and it's just lost.Also MemoryPack constructor cannot be used, because it expects a parameterless constructor in CircularReference generation.