A Persistence Framework for Scala and NoSQL
Repo
methods; RepoPool.createMany
; and LongevityContext.repoCrudSpec
and inMemTestRepoCrudSpec
. users now need to provide execution
contexts to use all these methods. the easiest way to do this is to
include import scala.concurrent.ExecutionContext.Implicits.global
at the top of the file.longevity-cassandra-deps
and
longevity-mongo-deps
.Root
with Persistent
. give Persistent
three child traits: Root
, ViewItem
, and Event
. these changes
should not affect existing code that uses Root
.RootType
with PType
. give PType
three
child traits: RootType
, View
, and EventType
. these changes
should not affect existing code that uses RootType
.PType
API for keySet
and indexSet
. please
see the latest documentation for a review of the new API.Shorthand
.PType
and sub-classes no longer take an implicit
ShorthandPool
argument.Subdomain
, CoreDomain
, SupportingSubdomain
, and
GenericSubdomain
factory method signatures have changed. They now
have a single parameter list, and the ShorthandPool
parameter is
no longer implicit.Persistent
no longer inherits from Entity
. PType
no longer inherits from EntityType
. these changes should not
affect user code.Subdomain.apply
to separate out
entityTypePool
into pTypePool
and entityTypePool
.PolyType
, DerivedType
, PolyPType
, and
DerivedPType
. see user manual.EntityTypePool
EntityType
Entity
ValueObject
ValueType
proof of concept release