mirror of
https://github.com/bitwarden/server
synced 2025-12-06 00:03:34 +00:00
Add IgnoreUnmatchedProperties when deserializing YAML (#4061)
This commit is contained in:
@@ -150,6 +150,7 @@ public class Context
|
||||
var configText = File.ReadAllText(ConfigPath);
|
||||
var deserializer = new DeserializerBuilder()
|
||||
.WithNamingConvention(UnderscoredNamingConvention.Instance)
|
||||
.IgnoreUnmatchedProperties()
|
||||
.Build();
|
||||
Config = deserializer.Deserialize<Configuration>(configText);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user