Add asValid method to Mapper
def asValid: Box[MyType] = validate match {
case Nil => Full(this)
case xs => Failure(xs.map(_.msg.text).mkString(", "), Empty, Empty)
}
Add method to update a Mapper object from JSON
case Nil => Full(this)
case xs => Failure(xs.map(_.msg.text).mkString(", "), Empty, Empty)
}
Add method to update a Mapper object from JSON
Leave a comment
on 2010-03-15 17:22 *
By dpp
Status changed from Accepted to Fixed
Work remaining changed from 1.0 to 0.0
(In revision:2e129cc35114b062c054e3aa2431293e87e4a8bb) Closes #397. Added asValid and JSON update to Mapper
Branch: master
Branch: master