Hello Akka Team,
Trying to migrate our codebase to Akka-2.6-M3. Main motivation is to switch to official JacksonSerializer (from existing kryo based implementation).
We have a large set of domain model which is shared with the Scala.js based frontend clients. These models are also used in the messages which go around in Akka-Cluster. Many of the models are sealed trait hierarchies (ADTs).
Going through the JacksonSerializer docs, I see that each ADT must be marked with jackson library annotations like JsonTypeInfo and JsonSubTypes. Given that these annotations are not (and cannot be) cross-compiled to Scala.js, we can not use them on the shared models. So we need a way to achieve the same without annotations.
Google search reveals that it may be possible do it by directly using the ObjectMapper API. But I am unable to connect it all. Is it possible to add some documentation around this aspect in the next milestone? This is currently blocking us from taking on the full migration.