TestDomain

tests.TestDomain$
object TestDomain extends DomainModel[Int, Int, String]

Attributes

Source
TestDomain.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
TestDomain.type

Members list

Type members

Inherited classlikes

trait Service[C, N]

Attributes

Inherited from:
DomainModel
Source
Model.scala
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def initial: Int

Initial or empty value for this domain model

Initial or empty value for this domain model

for any aggregate, it is either created and have a history, or is in initial state

Attributes

Source
TestDomain.scala

A function that defines how this model transitions in response to events; it is like an event handler, but is pure.

A function that defines how this model transitions in response to events; it is like an event handler, but is pure.

An event that can't be applied results in a rejection or conflict, based on whether it is read from journal or applied for decision

Attributes

Source
TestDomain.scala

Givens

Inherited givens

Attributes

Inherited from:
DomainModel
Source
Model.scala