Hey, working with the TimeTravel feature it appear...
# mvikotlin
j
Hey, working with the TimeTravel feature it appears that if you use a Store with a Unit Action (to kickstart database load) that it is unable to be serialized when exporting. Is there a workaround for such cases?
a
Yes, Unit is not
Serializable
. Perhaps you can define your own Action.
j
So any blank action such as a "InitLoad" object would work, correct?
a
Also be aware that Kotlin
objects
will have multiple instances when deserialized. So use
is
when checking in
when
.
j
Yessir, love the framework. Hope to contribute in the future
🎉 1
a
So any blank action such as a "InitLoad" object would work, correct?
Correct. Something like: object InitLoad : JvmSerializable