Is it currently impossible to serialize inherited ...
# serialization
j
Is it currently impossible to serialize inherited classes for iOS? Seems to work great with jvm/js. The README.md kind of states it, but it does not really say that inheritance does not work. Anyone knows?
s
It is just not implemented for now, but we have it in plans of course
j
@sandwwraith Do you have any tips in how one might be able to get around it for now? Would very much like not having to write a long switch case to handle specific init of objects
Been trying different ideas on how to solve this, but I come up with nothing
s
Not sure about that. I think the only possible way is to get rid of inheritance
j
@sandwwraith I did that, and tried to use interface instead, but that seems to bring on another set of problems.
Which sadfully brings me to having to use one class where I do a
when(...)
setup to make sure the right task is performed given a persisted object with a specific key. I can for sure say I'm looking forward to iOS inheritance being added then 🙂
I know this sounds like whining, but you guys are doing awesome work!
🙏 1