Skip to content

Commit 2e81ef1

Browse files
feature(#2): includes the "address" property in the schemes records, allowing the address associated with the order to be stored during its creation and representation.
1 parent 51e6d8d commit 2e81ef1

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

Boundaries/Comanda.Orders/Source/Comanda.Orders.Application/Payloads/Order/OrderCreationScheme.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ public sealed record OrderCreationScheme : IDispatchable<Result<OrderScheme>>
44
{
55
public Fulfillment Fulfillment { get; init; }
66
public Priority Priority { get; init; }
7+
public Address? Address { get; init; } = default!;
78
public Metadata Metadata { get; init; } = default!;
89
public IEnumerable<Item> Items { get; init; } = [];
910
}

Boundaries/Comanda.Orders/Source/Comanda.Orders.Application/Payloads/Order/OrderScheme.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ public sealed record OrderScheme
55
public string Identifier { get; init; } = default!;
66
public string Code { get; init; } = default!;
77

8+
public Address? Address { get; init; } = default!;
89
public Status Status { get; init; }
910
public Priority Priority { get; init; }
1011
public Fulfillment Fulfillment { get; init; }

0 commit comments

Comments
 (0)