Hi, I have a case class from a library I'm using that I need to persist. Given that this isn't Activate's normal approach, I'm curious about the best way to solve this.
So I have something like:
case class ThirdParty (a:String,b:String)
that needs to both be persisted and interact with the library in question. I know generally case class inheritance is bad and I'm not really sure how activate will behave if I try I dunno somethign like:
class ThirdPartyAct(a:String,b:String) extends ThirdParty(a,b) with Entity
Or I'd considered making a 'pure entity' and mapping to-from it as well but again, not sure of the best approach.