Soriento
Soriento copied to clipboard
@Embedded<Container> - container needs a type check
In the documentation on the main page:
case class BlogWithEmbeddedMessages(author: String, @EmbeddedSet messages: List[Message])
val blogWithEmbeddedMessages = BlogWithEmbeddedMessages("John", List(...)
@EmbeddedSet need to be consistent with the messages type (which is a List).