forked from ardalis/CleanArchitecture
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Contributor PhoneNumber nullability for consistency (ardalis#686)
* Adjust PhoneNumber nullability throughout layers * remove wwwroot from csproj * add LINQ expression back in for in memory provider
- Loading branch information
1 parent
059bf9c
commit dfc4b02
Showing
5 changed files
with
7 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
namespace Clean.Architecture.UseCases.Contributors; | ||
public record ContributorDTO(int Id, string Name, string PhoneNumber); | ||
public record ContributorDTO(int Id, string Name, string? PhoneNumber); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
namespace Clean.Architecture.Web.ContributorEndpoints; | ||
|
||
public record ContributorRecord(int Id, string Name, string PhoneNumber); | ||
public record ContributorRecord(int Id, string Name, string? PhoneNumber); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters