akka/akka-core

PersistentFSMActor: Remove duplication between akka.actor.FSM and akka.persistence.fsm.FSM

Aberta

#18.154 aberto em 9 de ago. de 2015

 (0 comentário) (0 reação) (0 responsável)Scala (3.547 forks)batch import
1 - triagedhelp wantedt:persistence

Métricas do repositório

Stars
 (13.277 estrelas)
Métricas de merge de PR
 (Mesclagem média 8d 19h) (10 fundiu PRs em 30d)

Description

Currently akka.persistence.fsm.PersistentFSMActor inherits from akka.persistence.fsm.FSM - a clone of the original akka.actor.FSM with some Event Sourcing related changes in FSM's DSL. Possible ways to fix this: akka.persistence.fsm.FSM should either be derived from the original FSM or a common trait should be introduced - for example:

trait FSMCore {...}
trait FSM extends FSMCore {...}
trait EventSourcedFSM extends FSMCore {...}

Guia do colaborador