File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed
src/test/scala/com/sfxcode/nosql/mongo/operation Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 22
33## Versions
44
5+ ### 2.0.0
6+ * mongo package no longer extends MongoImplcits => Use MongoImplcits trait if needed
7+
58### 1.9.7
69* Support for Dot notation in documents
710* extend Document functions with getValue. updateValue, getIntValue ... (with dot support)
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import com.sfxcode.nosql.mongo._
55import com .sfxcode .nosql .mongo .dao .PersonSpecification
66import com .sfxcode .nosql .mongo .model .CodecTest
77import com .typesafe .scalalogging .LazyLogging
8+ import org .mongodb .scala .bson .ObjectId
89import org .mongodb .scala .model .changestream .ChangeStreamDocument
910
1011class CrudSpec extends PersonSpecification with LazyLogging {
@@ -20,6 +21,8 @@ class CrudSpec extends PersonSpecification with LazyLogging {
2021 val list : List [CodecTest ] = CodecDao .find().resultList()
2122 list.size mustEqual 1
2223
24+ list.head._id must haveClass[ObjectId ]
25+
2326 def consumeCodecChanges (changeStreamDocument : ChangeStreamDocument [CodecTest ]): Unit =
2427 logger.info(
2528 " codec changed %s:%s with ID: %s" .format(
Original file line number Diff line number Diff line change 1- version in ThisBuild := " 1.9.10 -SNAPSHOT"
1+ version in ThisBuild := " 2.0.0 -SNAPSHOT"
You can’t perform that action at this time.
0 commit comments