Fork me on GitHub
#duct
<
2019-01-18
>
iku00088803:01:07

Hi, I am in the process of migrating to duct-core 0.7.0.

iku00088803:01:36

I have a usage where a config file uses :duct.core/include to include yet another file that has a :duct.core/include. Would I be correct to say that something like this is no longer possible?

weavejester04:01:35

You can still nest included files.

iku00088804:01:56

@U0BKWMG5B Thanks for checking! Yes I technically I can, but I don't see it working. Because the old include would merge all the included maps at the same level, but the new include #duct/include expands the map under a specific key of the config map (which I think only 'works' if it is under a profile key)

iku00088804:01:17

I would be more than happy to cook up something minimal to elaborate. Thanks for your attention!

weavejester14:01:13

Ah, I see what you mean. Could you pop up a use-case as an issue?

👍 5
weavejester14:01:59

(Just so I don't forget it)

weavejester14:01:17

It might be worth making profiles resolve recursively.

iku00088803:01:58

It was convenient for reducing the config verbosity for components that were transitively dependent that the top level app would not directly interact

iku00088803:01:24

(And thanks for all the work put in to the release 🙏 )