diff --git a/Historical/Multiversion Distributed/examples/src/main/scala/rescala/examples/distributed/CostAssessment.scala b/Historical/Multiversion Distributed/examples/src/main/scala/rescala/examples/distributed/CostAssessment.scala index 394478c89..da313c762 100644 --- a/Historical/Multiversion Distributed/examples/src/main/scala/rescala/examples/distributed/CostAssessment.scala +++ b/Historical/Multiversion Distributed/examples/src/main/scala/rescala/examples/distributed/CostAssessment.scala @@ -44,18 +44,22 @@ object CostAssessment { given JsonValueCodec[scala.Tuple2[ scala.Long, - scala.Tuple3[java.lang.String, scala.collection.immutable.List[scala.Tuple4[ - scala.Long, - scala.Int, - scala.Option[scala.Tuple2[rescala.fullmv.CaseClassTransactionSpanningTreeNode[scala.Tuple2[ - rescala.fullmv.mirrors.Host.GUID, - rescala.fullmv.TurnPhase.Type - ]], scala.Int]], - scala.Option[scala.Tuple2[ - scala.Option[scala.collection.immutable.Map[java.lang.String, scala.collection.immutable.Set[scala.Int]]], - scala.Option[scala.Array[scala.Byte]] - ]] - ]], scala.Array[scala.Byte]] + scala.Tuple3[ + java.lang.String, + scala.collection.immutable.List[scala.Tuple4[ + scala.Long, + scala.Int, + scala.Option[scala.Tuple2[rescala.fullmv.CaseClassTransactionSpanningTreeNode[scala.Tuple2[ + rescala.fullmv.mirrors.Host.GUID, + rescala.fullmv.TurnPhase.Type + ]], scala.Int]], + scala.Option[scala.Tuple2[ + scala.Option[scala.collection.immutable.Map[java.lang.String, scala.collection.immutable.Set[scala.Int]]], + scala.Option[scala.Array[scala.Byte]] + ]] + ]], + scala.Array[scala.Byte] + ] ]] = JsonCodecMaker.make(CodecMakerConfig.withAllowRecursiveTypes(true)) implicit val host: this.type = this def binding(i: Int) = Binding[Signal[Map[String, Set[Int]]]](s"binding-$i") diff --git a/Historical/Multiversion Distributed/examples/src/main/scala/rescala/examples/distributed/RetierCommunicationsTest.scala b/Historical/Multiversion Distributed/examples/src/main/scala/rescala/examples/distributed/RetierCommunicationsTest.scala index 2c4f262be..f924d3b74 100644 --- a/Historical/Multiversion Distributed/examples/src/main/scala/rescala/examples/distributed/RetierCommunicationsTest.scala +++ b/Historical/Multiversion Distributed/examples/src/main/scala/rescala/examples/distributed/RetierCommunicationsTest.scala @@ -15,15 +15,19 @@ object Bindings { given JsonValueCodec[scala.Tuple2[ scala.Long, - scala.Tuple3[java.lang.String, scala.collection.immutable.List[scala.Tuple4[ - scala.Long, - scala.Int, - scala.Option[scala.Tuple2[rescala.fullmv.CaseClassTransactionSpanningTreeNode[scala.Tuple2[ - rescala.fullmv.mirrors.Host.GUID, - rescala.fullmv.TurnPhase.Type - ]], scala.Int]], - scala.Option[scala.Tuple2[scala.Option[scala.Int], scala.Option[scala.Array[scala.Byte]]]] - ]], scala.Array[scala.Byte]] + scala.Tuple3[ + java.lang.String, + scala.collection.immutable.List[scala.Tuple4[ + scala.Long, + scala.Int, + scala.Option[scala.Tuple2[rescala.fullmv.CaseClassTransactionSpanningTreeNode[scala.Tuple2[ + rescala.fullmv.mirrors.Host.GUID, + rescala.fullmv.TurnPhase.Type + ]], scala.Int]], + scala.Option[scala.Tuple2[scala.Option[scala.Int], scala.Option[scala.Array[scala.Byte]]]] + ]], + scala.Array[scala.Byte] + ] ]] = JsonCodecMaker.make(CodecMakerConfig.withAllowRecursiveTypes(true)) given JsonValueCodec[Int] = JsonCodecMaker.make diff --git a/Historical/Multiversion Distributed/multiversion/src/test/scala/tests/rescala/fullmv/transmitter/CodecHelper.scala b/Historical/Multiversion Distributed/multiversion/src/test/scala/tests/rescala/fullmv/transmitter/CodecHelper.scala index c10cbdfd7..e86ae0d4c 100644 --- a/Historical/Multiversion Distributed/multiversion/src/test/scala/tests/rescala/fullmv/transmitter/CodecHelper.scala +++ b/Historical/Multiversion Distributed/multiversion/src/test/scala/tests/rescala/fullmv/transmitter/CodecHelper.scala @@ -7,18 +7,22 @@ object CodecHelper { type FullMvTransport[ActualType] = scala.Tuple2[ scala.Long, - scala.Tuple3[java.lang.String, scala.collection.immutable.List[scala.Tuple4[ - scala.Long, - scala.Int, - scala.Option[scala.Tuple2[rescala.fullmv.CaseClassTransactionSpanningTreeNode[scala.Tuple2[ - rescala.fullmv.mirrors.Host.GUID, - rescala.fullmv.TurnPhase.Type - ]], scala.Int]], - scala.Option[scala.Tuple2[ - scala.Option[ActualType], - scala.Option[scala.Array[scala.Byte]] - ]] - ]], scala.Array[scala.Byte]] + scala.Tuple3[ + java.lang.String, + scala.collection.immutable.List[scala.Tuple4[ + scala.Long, + scala.Int, + scala.Option[scala.Tuple2[rescala.fullmv.CaseClassTransactionSpanningTreeNode[scala.Tuple2[ + rescala.fullmv.mirrors.Host.GUID, + rescala.fullmv.TurnPhase.Type + ]], scala.Int]], + scala.Option[scala.Tuple2[ + scala.Option[ActualType], + scala.Option[scala.Array[scala.Byte]] + ]] + ]], + scala.Array[scala.Byte] + ] ] given fullCodec[T: JsonValueCodec]: JsonValueCodec[FullMvTransport[T]] =