I have some module config that varies between :duct.profile/dev and :duct.profile/prod. But the module is not initialized when it exists only in those profiles.
config.edn:
:duct.profile/dev
{:duct.module/foo {:bar :dev-value}}
:duct.profile/prod
{:duct.module/foo {:bar :prod-value}}
Now if I forget about profiles and just put the module config directly in the top-level of config.edn, the module works as expected.
Is this supposed to work and am I probably missing something?