lance icon indicating copy to clipboard operation
lance copied to clipboard

Why does syncTo method in Serializable class ignore classes and lists?

Open Meigyoku-Thmn opened this issue 8 years ago • 1 comments

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

Meigyoku-Thmn avatar Oct 26 '17 04:10 Meigyoku-Thmn

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.

namel avatar Oct 26 '17 05:10 namel