akka/akka-core
PersistentFSMActor: Remove duplication between akka.actor.FSM and akka.persistence.fsm.FSM
开放
#18,154 创建于 2015年8月9日
1 - triagedhelp wantedt:persistence
仓库指标
- 星标
- (13,277 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
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 {...}