docs: Fix typo in comments

This commit is contained in:
Anton Skuratovich 2021-11-24 22:51:12 +03:00
parent 9e5cd835b4
commit 939aafbb32
3 changed files with 9 additions and 14 deletions
src/Services
Basket/Basket.API/IntegrationEvents/Events
Ordering/Ordering.API/Application/IntegrationEvents/Events

@ -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; }