case classSerClassProxy[A](f: () ⇒ SerClass[A]) extends SerClass[A] with Product with Serializable
This class represents an attempt to overcome circular dependency issues
for example when you have a structure something like this:
trait NodeOrLeaf
case class Node(child : NodeOrLeaf)
case class Leaf(x : Int)
currently this will lead to stack overflows if you try to define
serialization for these classs between the ser for NodeOrLeaf and Node's
.ser
Used in conjunction with CSerial it looks like this:
implicit lazy val ser = proxySerial(forCase(this.apply _))
This class represents an attempt to overcome circular dependency issues for example when you have a structure something like this: trait NodeOrLeaf case class Node(child : NodeOrLeaf) case class Leaf(x : Int) currently this will lead to stack overflows if you try to define serialization for these classs between the ser for NodeOrLeaf and Node's .ser
Used in conjunction with CSerial it looks like this: implicit lazy val ser = proxySerial(forCase(this.apply _))