fix: ignore unmatched properties in definitions
This commit is contained in:
parent
89c1bcfee6
commit
035be709a4
|
@ -51,6 +51,7 @@ namespace NoSoliciting {
|
|||
var de = new DeserializerBuilder()
|
||||
.WithNamingConvention(UnderscoredNamingConvention.Instance)
|
||||
.WithTypeConverter(new MatcherConverter())
|
||||
.IgnoreUnmatchedProperties()
|
||||
.Build();
|
||||
return de.Deserialize<Definitions>(text);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user