lance
lance copied to clipboard
Why does syncTo method in Serializable class ignore classes and lists?
I tried to sync some list and class objects, but it doesn't work, so I dived into source code then I found this: https://github.com/lance-gg/lance/blob/92655850979a09b8ce8abe2a74d4978cb98e64c4/src/serialize/Serializable.js#L139
Also, if LISTs or CLASSes are not sync'd, this should be made very clear in the documentation, both in the data type description in the Serializer class (which currently does not list all the data types, see http://docs.lance.gg/r1.0.8/Serializer.html#.TYPES)
and in the netscheme (http://docs.lance.gg/r1.0.8/DynamicObject.html#.netScheme) for each base data type.