Skip to content

Commit

Permalink
Added required modifier to "Name" property of "People". Looked throug…
Browse files Browse the repository at this point in the history
…h existing functionality for possible conflicts, but adding required seems to prevent any possible conflicts with current code. (#351)

Co-authored-by: Isaac Detert <[email protected]>
  • Loading branch information
CottonpuffProgrammer and Isaac Detert authored Dec 11, 2024
1 parent d15442f commit 0f7c88d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PC2/Models/People.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class People
/// <summary>
/// The persons full name
/// </summary>
public string Name { get; set; }
public required string Name { get; set; }

/// <summary>
/// Position title
Expand Down

0 comments on commit 0f7c88d

Please sign in to comment.