svalaskevicius / eventflow

cqrs+es in scala
45 stars 4 forks source link

use Validated instead of Xor in CommandH #19

Closed svalaskevicius closed 8 years ago

svalaskevicius commented 8 years ago

as suggested by @Fristi:

btw have you considered to return ValidatedNel[String, List[Evt]] instead of Aggregate.Error Xor List[Evt]? at CommandH (https://github.com/svalaskevicius/eventflow/blob/master/src/main/scala/Cqrs/EventFlow.scala#L14)

Fristi commented 8 years ago

:+1:

svalaskevicius commented 8 years ago

fixed in #25