Skip to content

Commit 10883df

Browse files
committed
Add TODO for Synapse config merge
1 parent e5b6e1e commit 10883df

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

crates/syn2mas/src/synapse_reader/config.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ impl Config {
7575
pub fn load(files: &[Utf8PathBuf]) -> Result<Config, figment::Error> {
7676
let mut figment = figment::Figment::new();
7777
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
7882
figment = figment.merge(Yaml::file(file));
7983
}
8084
figment.extract::<Config>()

0 commit comments

Comments
 (0)