@marius, this is slick.
However, its causing my build to error now... I get the following
stack trace when building the entire lift project:
[INFO] Compiling 22 source files to /Users/timperrett/repositories/
lift/lift-framework/lift-record/target/classes
[WARNING] /Users/timperrett/repositories/lift/lift-framework/lift-
record/src/main/scala/net/liftweb/record/MetaRecord.scala:238: error:
type mismatch;
[WARNING] found : net.liftweb.util.Box[net.liftweb.util.Box
[net.liftweb.record.OwnedField[BaseRecord]#MyType]]
[WARNING] required: Iterable[?]
[WARNING] Note that implicit conversions are not applicable because
they are ambiguous:
[WARNING] both method box2Iterable in object Box of type [T]
(net.liftweb.util.Box[T])Iterable[T]
[WARNING] and method box2Iterable in object Box of type [T]
(net.liftweb.util.Box[T])Iterable[T]
[WARNING] are possible conversion functions from net.liftweb.util.Box
[net.liftweb.util.Box[net.liftweb.record.OwnedField[BaseRecord]
#MyType]] to Iterable[?]
[WARNING] field <- inst.fieldByName(k.toString)) yield
field.setFromAny(v)
[WARNING] ^
[WARNING] one error found