Skip to content

Commit

Permalink
Change Integration Event Trait to DomainContext
Browse files Browse the repository at this point in the history
  • Loading branch information
Mornevanzyl committed Nov 22, 2023
1 parent fe5aa0a commit 0b61823
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pages/en/nox-features-events.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ integrationEvents:
- name: TopCryptoCurrency
description: Top rated cryptocurrency added to system
type: object
trait: Currency
domainContext: Currency
objectTypeOptions:
attributes:
- name: Name
Expand All @@ -85,6 +85,8 @@ integrationEvents:
type: number
```

> 💡 The `DomainContext` property is used to identify either the EntityName, BusinessProcessName or BoundedContext that the event pertains to.

Notice that the Nox library generates the custom event declaration `Application.IntegrationEvents/TopCryptoCurrency.g.cs`

<div align="center">
Expand Down

0 comments on commit 0b61823

Please sign in to comment.