From 4a607b7406b967c43997cd1241fffdfc1a143bac Mon Sep 17 00:00:00 2001 From: Vince Grassia <593223+vgrassia@users.noreply.github.com> Date: Tue, 7 May 2024 09:50:04 -0400 Subject: [PATCH] Add IgnoreUnmatchedProperties when deserializing YAML (#4061) --- util/Setup/Context.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/util/Setup/Context.cs b/util/Setup/Context.cs index ca9087b5d8..58a5ced0ac 100644 --- a/util/Setup/Context.cs +++ b/util/Setup/Context.cs @@ -150,6 +150,7 @@ public class Context var configText = File.ReadAllText(ConfigPath); var deserializer = new DeserializerBuilder() .WithNamingConvention(UnderscoredNamingConvention.Instance) + .IgnoreUnmatchedProperties() .Build(); Config = deserializer.Deserialize(configText);