Skip to content

Event に Command が含まれている #16

@tksugimoto

Description

@tksugimoto

EventにCommandを含めると互換性の維持が大変になる。

アプリ全体停止するならばCommandの互換性は崩せるが、Eventの互換性は崩せないので依存関係は無いほうが良い。

lerna-sample-payment-app/ECPaymentIssuingServiceEvent.scala at v1.1.0 · lerna-stack/lerna-sample-payment-app

final case class CancelAccepted(
    requestInfo: Cancel,          // presentation -> actorのリクエスト
    systemDateTime: LocalDateTime,// システム日時、※決済取消要求時のシステム日時
)(implicit val traceId: TraceId)
    extends ECPaymentIssuingServiceEvent

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions