- Home /
Question by
MaxLevelNoob · Mar 30, 2021 at 08:46 PM ·
destroyprogrammingserializationarchitecture
Are there consequences to exceeding Serialization Depth?
public class ModifiableFloat
{
public List<Modifier> Modifiers;
}
public class Modifier
{
public ModifiableFloat ModifyValue;
}
If there are heavy consequences to exceeding the depth, are there any solutions? I've tried the solutions below but I failed
I've seen ISerializeCallbackReceiver but failed to understand how to implement it.
I've also heard that this kind of software architecture is not good and that I should make it more decoupled but I can only think of doing it this way.
Comment