Skip to content

Commit

Permalink
refactor: Add a default value to the Id property of CreatedGuid type
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDave1999 committed Nov 20, 2023
1 parent c817359 commit 01d0857
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Core/CreatedGuid.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,9 @@ public CreatedGuid() { }
/// <summary>
/// Gets or sets the identification of a resource.
/// </summary>
public string Id { get; init; }
/// <value>
/// The identification of a resource.
/// Its default value is an empty string.
/// </value>
public string Id { get; init; } = string.Empty;
}

0 comments on commit 01d0857

Please sign in to comment.