Subdocument with type Any

14 views
Skip to first unread message

rpr...@sprypoint.com

unread,
Dec 15, 2014, 2:02:20 PM12/15/14
to scala...@googlegroups.com
Does Salat support an object like the following?

case class Foo(@Key("_id") id: ObjectId, bar: Any)

When I attempt this it stores bar as an array of values.  Are type hints only used on the top level documents?
Reply all
Reply to author
Forward
0 new messages