sullivan- on master
add missing date in changelog (compare)
Hi @sullivan- !
Thanks a lot for the demo and the video, it is awesome!
I’m facing an issue with my IDE integration. I’m currently using IntelliJ IDEA, and when looking at the companion objects (object User
), there Cannot resolve symbol
error for both primaryKey
and props.
, I bet this is because the macros. Do you have a suggestion or workaround for this? Or I just got to learn to live with it? :)… not a huge deal, really; but I would prefer not see red font in my source code :D
In any case, thanks a lot!
primaryKey
User.dprops.username[Username]
instead 0f User.props.username
@persistent[DomainModel]
case class User(
username: Username,
email: Email,
fullName: FullName,
answers: List[Answer] = Nil
)
trait Answer
@component[DomainModel]
case class AAnswer(a: String) extends Answer
@component[DomainModel]
case class BAnswer(b: Int) extends Answer
PType
that's not very typesafe), but I'm okay with that. We can put a disclaimer in the scaladocs