sullivan- on master
add missing date in changelog (compare)
Hahaha… Naaah, that user guide is killer :) it gives a good impression of the framework, that was a huge deal when I decided to look into it. I am not doing scala development in my day job so I have very little time to look into all the libraries I like :D but I love what I’ve seen so far.
Nice that you’re adding shapeless into the mix :D… It will certainly add more flexibility, less dev work and also you won’t need to maintain the inhouse reflection project (that’s “Emblem", right?).
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