Fork me on GitHub
#mount
<
2017-08-05
>
pandeiro16:08:41

cprop question: I'd like shallow merging of a conf file and resource, rather than deep merge-with type behavior. Is there a way to do that?

pandeiro16:08:27

Or sorry, more precisely -- I'd like a conf file to simply override a conf resource

pandeiro16:08:30

From the cprop README, where it says "If both are there, they will be merged. A file system source would override matching properties from a classpath source..."

pandeiro16:08:26

So that to me implies, given resource {:foo {:bar true}} and file {:foo {:baz "yes"}}, my resulting config would be {:foo {:baz "yes"}}

pandeiro16:08:48

Instead what I get is {:foo {:bar true, :baz "yes"}}