sullivan- on master
add missing date in changelog (compare)
@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
User.queryDsl
and User.props
here: https://github.com/longevityframework/simbl/blob/master/src/main/scala/simbl/service/UserServiceImpl.scala#L35when I look here, it is injecting into the class that gets annotated:
in which case, it produces a string such as "def foo: Foo = new Foo {}"
User.props
might be a bigger deal