dimparf/Soriento

Example in Readme

Closed this issue · 1 comments

What's going on here?
When you define the class Blog, it contains two attributes and none of them is content.

//...
val blog = Blog("Dim", content = Message("Hi"))
//...

should read

//...
val blog = Blog("Dim", message = Message("Hi"))
//...

Or if you want to leverage some semantics, maybe the case class has to be defined

case class Blog(author: String, @Embedded content: Message)

Hi, mancvso
Thank you for look at this. This is bug in README.
It must be case class Blog(author: String, @Embedded message: Message).
I am fix it.