Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-ka committed Mar 26, 2020
1 parent ea182ce commit 7211d52
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions _docs/tutorials/event-sourcing-and-cqrs-modeling.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ suggests that the scope of domain events should always be based on Aggregates. T

The following example illustrates how you can model domain events within your Aggregate:

<!-- now using discovered AddressDto (tbd) -->

```text
abstract DomainEvent AbstractDomainEvent {
Date timestamp
Expand All @@ -48,9 +46,9 @@ DomainEvent AddressUpdatedEvent extends AbstractDomainEvent {
}
ValueObject AddressDto {
String streetAddress
String city
String postalCode
String streetAddress
String city
String postalCode
}
```

Expand Down

0 comments on commit 7211d52

Please sign in to comment.