These are chat archives for RBMHTechnology/eventuate

Oct 2017
Bartosz Sypytkowski
Oct 08 2017 13:19
@krasserm I've seen that CRDTServiceOps.prepare in all cases returns the same object type as it gets on input. Is it possible to use different type as prepare phase input, and then produce different one on output? In case of RGArray[A] prepare input would be something like PrepareInsert(afterIdx: Int, value: A) while output produced would look like Insert(afterPos: Position, value:A, valuePos: Position)
Martin Krasser
Oct 08 2017 14:07
Yes, that should work.
Martin Krasser
Oct 08 2017 14:14
Just make sure that there's a serializer for the returned object.