fix(config): Overlay default/overrides with type-config

This commit is contained in:
Ed Page 2021-10-23 09:24:05 -05:00
parent 6eccb60552
commit 83dc9dcb5f

View file

@ -194,7 +194,11 @@ impl<'s> ConfigEngine<'s> {
}
}
let type_config = self.init_file_config(type_engine.engine);
let mut engine = default.clone();
engine.update(&type_engine.engine);
engine.update(&overrides);
let type_config = self.init_file_config(engine);
types.insert(type_name, type_config);
}
default.update(&overrides);