Some of my objects have Collections as properties(List or Set) but I’d like to be Option[List[MyObject]]
because the object may or may not have any associated objects.
I can’t seem to map this relationship though EX
val gameProfiles = onetomany(UserPlatformProfileEntity) option (_.gameProfiles)
Is there a way around this or am I doing it wrong?
--
You received this message because you are subscribed to the Google Groups "mapperdao" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapperdao+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.