-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Communications Between Modules (#8)
fix communications between modules to be asynchronous: change `GenerateUserCommand` to `GenerateUserRequestCreatedIntegrationEvent`
- Loading branch information
1 parent
dd4c976
commit e418827
Showing
5 changed files
with
24 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
...ggregates/Invitations/IntegrationEvents/CreateInvitationRequestCreatedIntegrationEvent.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
using TeamUp.Common.Contracts; | ||
using TeamUp.TeamManagement.Contracts.Teams; | ||
using TeamUp.UserAccess.Contracts; | ||
|
||
namespace TeamUp.TeamManagement.Domain.Aggregates.Invitations.IntegrationEvents; | ||
|
||
public sealed record CreateInvitationRequestCreatedIntegrationEvent : IIntegrationEvent | ||
{ | ||
public required UserId UserId { get; init; } | ||
public required string Email { get; init; } | ||
public required TeamId TeamId { get; init; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters