-
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.
Work around JsonSerializer limitation.
- Loading branch information
1 parent
2e21848
commit 8ab79a2
Showing
6 changed files
with
52 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
2 changes: 1 addition & 1 deletion
2
StarCommander.Infrastructure.Persistence.Aggregate/Players/Player.cs
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
36 changes: 36 additions & 0 deletions
36
StarCommander.Infrastructure.Persistence.Aggregate/Players/PlayerJson.cs
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
namespace StarCommander.Infrastructure.Persistence.Aggregate.Players | ||
{ | ||
// ReSharper disable once ClassNeverInstantiated.Global | ||
public class PlayerJson : Domain.Players.Player | ||
{ | ||
public new string CallSign | ||
{ | ||
get => base.CallSign; | ||
set => base.CallSign = value; | ||
} | ||
|
||
public new string FirstName | ||
{ | ||
get => base.FirstName; | ||
set => base.FirstName = value; | ||
} | ||
|
||
public new string LastName | ||
{ | ||
get => base.LastName; | ||
set => base.LastName = value; | ||
} | ||
|
||
public new byte[] PasswordHash | ||
{ | ||
get => base.PasswordHash; | ||
set => base.PasswordHash = value; | ||
} | ||
|
||
public new byte[] PasswordSalt | ||
{ | ||
get => base.PasswordSalt; | ||
set => base.PasswordSalt = value; | ||
} | ||
} | ||
} |
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
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