docs: Fix typo in comments
This commit is contained in:
parent
9e5cd835b4
commit
939aafbb32
@ -2,7 +2,7 @@
|
||||
|
||||
// Integration Events notes:
|
||||
// An Event is "something that has happened in the past", therefore its name has to be
|
||||
// An Integration Event is an event that can cause side effects to other microsrvices, Bounded-Contexts or external systems.
|
||||
// An Integration Event is an event that can cause side effects to other microservices, Bounded-Contexts or external systems.
|
||||
public record OrderStartedIntegrationEvent : IntegrationEvent
|
||||
{
|
||||
public string UserId { get; init; }
|
||||
@ -10,4 +10,3 @@ public record OrderStartedIntegrationEvent : IntegrationEvent
|
||||
public OrderStartedIntegrationEvent(string userId)
|
||||
=> UserId = userId;
|
||||
}
|
||||
|
||||
|
@ -2,12 +2,9 @@
|
||||
|
||||
// Integration Events notes:
|
||||
// An Event is "something that has happened in the past", therefore its name has to be
|
||||
// An Integration Event is an event that can cause side effects to other microsrvices, Bounded-Contexts or external systems.
|
||||
// An Integration Event is an event that can cause side effects to other microservices, Bounded-Contexts or external systems.
|
||||
public record ProductPriceChangedIntegrationEvent : IntegrationEvent
|
||||
{
|
||||
// Integration Events notes:
|
||||
// An Event is “something that has happened in the past”, therefore its name has to be past tense
|
||||
// An Integration Event is an event that can cause side effects to other microsrvices, Bounded-Contexts or external systems.
|
||||
public int ProductId { get; private init; }
|
||||
|
||||
public decimal NewPrice { get; private init; }
|
||||
@ -21,4 +18,3 @@ public record ProductPriceChangedIntegrationEvent : IntegrationEvent
|
||||
OldPrice = oldPrice;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
// Integration Events notes:
|
||||
// An Event is “something that has happened in the past”, therefore its name has to be
|
||||
// An Integration Event is an event that can cause side effects to other microsrvices, Bounded-Contexts or external systems.
|
||||
// An Integration Event is an event that can cause side effects to other microservices, Bounded-Contexts or external systems.
|
||||
public record OrderStartedIntegrationEvent : IntegrationEvent
|
||||
{
|
||||
public string UserId { get; init; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user