case class Test(test: ObjectId)
val test = Test(new ObjectId)
test.pickle.value
but then I got error:
error: Cannot generate a pickler for Test. Recompile with -Xlog-implicits for details
test.pickle
any suggestions how to deal with such types ? Thanks