Changeset [a9e3b13d92137e01f1f54077f0f39e2690c1765e] by Brendan W. McAdams
Revision a9e3b13d92137e01f1f54077f0f39e2690c1765e,
committed by Brendan W. McAdams
· August 26th, 2010 @ 08:16 PM
- Adjusted boundaries on getAs and expand; the view-permitting Any was causing ambiguity issues at runtime with non AnyRefs (e.g. AnyVal).
- Fixed an assumption in expand which could cause runtime failure
- Updated MongoDBObject factory & builder to explicitly return a type; some pieces were assuming at runtime that it was a MongoDBObjectBuilder$anon1 which fucked things up beyond all recognition
- New basic spec test for MongoDBObject, just validates expand behavior ATM http://github.com/novus/casbah/commit/a9e3b13d92137e01f1f54077f0f39...
3 changed files
-
A
casbah-commons/src/test/scala/MongoDBObjectSpec.scala -
M
casbah-commons/src/main/scala/MongoDBObject.scala -
M
casbah-core/src/test/scala/ConversionsSpec.scala