Skip to content

Commit c171eae

Browse files
calin-lupas_dsamcapscalin-lupas_dsamcaps
authored andcommitted
Ignore the IsValid property when serialize as yaml
1 parent 6bdc26d commit c171eae

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/DevExcelerateApi/Models/RepositoryRequestModel.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ public class RepositoryRequestModel : DevExIssueRequestModel
108108
};
109109
}
110110

111+
[YamlIgnore]
111112
public bool IsValid => IsValidCreate() || IsValidUpdate();
112113

113114
public bool IsValidCreate()

src/DevExcelerateApi/Models/TeamRequestModel.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ public class TeamRequestModel : DevExIssueRequestModel
9595
};
9696
}
9797

98+
[YamlIgnore]
9899
public bool IsValid => IsValidCreate() || IsValidUpdate();
99100

100101
public bool IsValidCreate()

0 commit comments

Comments
 (0)