duct

kwrooijen 2020-03-06T11:23:19.020Z

@weavejester It seems that duct.core/merge-configs discards the top-level metadata

(meta (duct.core/merge-configs ^:a {:a 1} ^:b {:b 2}))
;; => nil
Is this intended or a bug?

kwrooijen 2020-03-06T11:31:17.020200Z

(Nested metadata is kept)

kwrooijen 2020-03-06T11:32:26.020700Z

I'm not sure, but maybe if we remove the {} on this line, this would be fixed? https://github.com/duct-framework/core/blob/6faa2ea29b81e8cb242c549de923aca2d0242081/src/duct/core.clj#L86

kwrooijen 2020-03-06T12:41:30.021100Z

Doesn't seem to fix it