Hello.
I tryed to use xml serialize/deserialize feature and got a problem.
If I serialize objects to XML, change class api and try to deserialize it back, I get an assert(not just an error).
can i check it before deserialize?
Thank you.
if I need to remove obsolete field?
I don't want compatibility. I just want my app not crash.
I can't change db structure and must keep all garbage?
namespace qx {
template <> void register_class(QxClass<myClass> & t)
{
t.data(& myClass::myObsoleteProperty, "myObsoleteProperty", 0, true, false);
}}
It's too difficult to maintain. many places, which developer must remember to change.
If app already in use, cost of mistake is very high.
Just commented ASSERT in QxArchive.inl and all works as I want.
Without support obsolete versions, without garbage and without crashes. =)
Users browsing this forum: No registered users and 6 guests