Skip to content

Commit 51e6d8d

Browse files
feature(#2): the address property of the order class has been changed to be of type "address?", allowing it to accept null values.
1 parent d59b2ac commit 51e6d8d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • Boundaries/Comanda.Orders/Source/Comanda.Orders.Domain/Aggregates

Boundaries/Comanda.Orders/Source/Comanda.Orders.Domain/Aggregates/Order.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ public sealed class Order : Aggregate
44
{
55
public Code Code { get; set; } = default!;
66
public Metadata Metadata { get; set; } = default!;
7-
public Address Address { get; set; } = default!;
7+
public Address? Address { get; set; } = default!;
88

99
public Status Status { get; set; } = Status.Pending;
1010
public Priority Priority { get; set; } = Priority.Normal;

0 commit comments

Comments
 (0)