pjfanning commented on issue #2579: URL: https://github.com/apache/pekko/issues/2579#issuecomment-3649137747
@hanishi we should look at the docs and see if they can be improved. EventSourcedSignal is already a sealed trait. https://github.com/apache/pekko/blob/f6f9f008492ef28776b9ecee526a3c5b7dfe1cb0/persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/EventSourcedSignal.scala#L27 DurableStateSignal is already a sealed trait. https://github.com/apache/pekko/blob/f6f9f008492ef28776b9ecee526a3c5b7dfe1cb0/persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/DurableStateSignal.scala#L26 So maybe the issue is that DurableStateBehavior receiveSignal specifies the more generic Signal trait instead of the specific DurableStateSignal. https://github.com/apache/pekko/blob/f6f9f008492ef28776b9ecee526a3c5b7dfe1cb0/persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/state/scaladsl/DurableStateBehavior.scala#L137 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
