archstone 1.3.0-rc.4 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "archstone",
3
3
  "description": "TypeScript architecture foundation for backend services based on Domain-Driven Design and Clean Architecture",
4
- "version": "1.3.0-rc.4",
4
+ "version": "1.3.0",
5
5
  "type": "module",
6
6
  "private": false,
7
7
  "files": [
@@ -44,7 +44,7 @@ Define as interfaces only. Use `Repository<T>` or compose `Findable`, `Creatable
44
44
 
45
45
  ## Domain Events
46
46
 
47
- Raise inside the aggregate via `addDomainEvent()`. Dispatch after persistence via `DomainEvents.dispatchEventsForAggregate(aggregate.id)`. Define handlers as classes implementing `EventHandler`. See [Domain Event Patterns](references/domain-events.md).
47
+ Raise inside the aggregate via `addDomainEvent()`. Dispatch after persistence via `DomainEvents.dispatchEventsForAggregate(aggregate.id)`. Define handlers as classes implementing `EventHandler<T>`. See [Domain Event Patterns](references/domain-events.md).
48
48
 
49
49
  ## Testing
50
50