Skip to content

Commit

Permalink
System.Text.Json: add parameterless constructor (#10)
Browse files Browse the repository at this point in the history
System.Text,Json needs a parameterless default constructor: dotnet/runtime#29895 (comment)
  • Loading branch information
sterschl authored Jun 2, 2020
1 parent d456144 commit 40bbbd9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dvelop-sdk-base/BaseDtos/RelationDataDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
{
public class RelationDataDto
{
public RelationDataDto()
{
Templated = false;
}

public RelationDataDto(string href, bool templated = false)
{
Href = href;
Expand Down

0 comments on commit 40bbbd9

Please sign in to comment.