mixin NonSerialized!(b);
does not remove problems on serializing a modified structure. That is, the serialize still looks for the value and if it can't find it, it throws.
It would be nice if there was an ignore attribute that completely ignored the field and did not throw if it does not exist.
mixin NonSerialized!(b);
does not remove problems on serializing a modified structure. That is, the serialize still looks for the value and if it can't find it, it throws.
It would be nice if there was an ignore attribute that completely ignored the field and did not throw if it does not exist.