-
-
Notifications
You must be signed in to change notification settings - Fork 289
Open
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels