akka/akka-core

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

開放

#18,154 建立於 2015年8月9日

 (0 則留言) (0 個反應) (0 位負責人)Scala (3,547 個分叉)batch import
1 - triagedhelp wantedt:persistence

倉庫指標

星標
 (13,277 顆星)
PR 合併指標
 (平均合併 8天 19小時) (30 天內合併 10 個 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 {...}

貢獻者指南