We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5b6e1e commit 10883dfCopy full SHA for 10883df
crates/syn2mas/src/synapse_reader/config.rs
@@ -75,6 +75,10 @@ impl Config {
75
pub fn load(files: &[Utf8PathBuf]) -> Result<Config, figment::Error> {
76
let mut figment = figment::Figment::new();
77
for file in files {
78
+ // TODO this is not exactly correct behaviour — Synapse does not merge anything
79
+ // other than the top level dict.
80
+ // https://github.com/element-hq/matrix-authentication-service/pull/3805#discussion_r1922680825
81
+ // https://github.com/element-hq/synapse/blob/develop/synapse/config/_base.py?rgh-link-date=2025-01-20T17%3A02%3A56Z#L870
82
figment = figment.merge(Yaml::file(file));
83
}
84
figment.extract::<Config>()
0 commit comments