docs: Fix typo in comments
This commit is contained in:
parent
9e5cd835b4
commit
939aafbb32
@ -1,8 +1,8 @@
|
||||
namespace Basket.API.IntegrationEvents.Events;
|
||||
|
||||
// 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.
|
||||
// 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 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;
|
||||
}
|
||||
|
||||
|
@ -1,13 +1,10 @@
|
||||
namespace Microsoft.eShopOnContainers.Services.Basket.API.IntegrationEvents.Events;
|
||||
|
||||
// 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.
|
||||
// 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 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;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
namespace Microsoft.eShopOnContainers.Services.Ordering.API.Application.IntegrationEvents.Events;
|
||||
|
||||
// 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.
|
||||
// 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 microservices, Bounded-Contexts or external systems.
|
||||
public record OrderStartedIntegrationEvent : IntegrationEvent
|
||||
{
|
||||
public string UserId { get; init; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user