AdamsLair / duality

a 2D Game Development Framework
https://adamslair.github.io/duality
MIT License
1.41k stars 287 forks source link

Duality Serializers should support updating an existing instance when loading #877

Open ilexp opened 4 years ago

ilexp commented 4 years ago

Summary

Right now, Duality serializers always return a new instance of a deserialized / loaded object. This should be extended to allow updating an existing instance.

Analysis