case classModelFnBox[M](f: (M) ⇒ Box[Any]) extends Product with Serializable
This exists to wrap the functions passed to defModelToAny/jsonCall and handle the type contravariance
appropriately. Users of lift-ng needn't even know it exists.
See http://stackoverflow.com/questions/31907701/why-does-this-scala-function-compile-when-the-argument-does-not-conform-to-the-t/31907828#answer-31907813
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
This exists to wrap the functions passed to
defModelToAny
/jsonCall
and handle the type contravariance appropriately. Users of lift-ng needn't even know it exists. See http://stackoverflow.com/questions/31907701/why-does-this-scala-function-compile-when-the-argument-does-not-conform-to-the-t/31907828#answer-31907813