|
|
|
|
|
by wheybags
732 days ago
|
|
In my experience, the pain of dealing with changes outweighs the pain of dealing with boilerplate, so it's better to explicitly write out save and load functions manually than rely on reflection. Also means you can do stuff like if(version<x) { load old thing + migrate} else {load new thing} very easily. And it's just code, not magic. |
|
The assist from the source generation helps reduce some of the boilerplate you need, but there's no escaping it ultimately.