Skip to content

Commit

Permalink
Merge pull request #61 from NoxOrg/feature/extending-nox
Browse files Browse the repository at this point in the history
Change Integration Event Trait to DomainContext
  • Loading branch information
Mornevanzyl authored Nov 22, 2023
2 parents 3c6a0bf + 0b61823 commit 95298b3
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 95298b3

Please sign in to comment.