This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-03-17
Channels
- # announcements (45)
- # asami (30)
- # babashka (96)
- # beginners (24)
- # calva (43)
- # chlorine-clover (3)
- # cider (10)
- # clj-kondo (45)
- # cljdoc (10)
- # cljs-dev (2)
- # clojars (5)
- # clojure (139)
- # clojure-australia (5)
- # clojure-europe (53)
- # clojure-filipino (1)
- # clojure-germany (27)
- # clojure-nl (4)
- # clojure-provo (7)
- # clojure-serbia (6)
- # clojure-spain (1)
- # clojure-uk (8)
- # clojuredesign-podcast (8)
- # clojurescript (76)
- # code-reviews (6)
- # conjure (4)
- # core-async (1)
- # cursive (73)
- # data-oriented-programming (2)
- # data-science (3)
- # deps-new (4)
- # depstar (7)
- # docker (16)
- # duct (7)
- # events (1)
- # fulcro (13)
- # girouette (1)
- # graphql (4)
- # honeysql (11)
- # jobs (2)
- # joker (1)
- # kaocha (4)
- # leiningen (5)
- # malli (11)
- # off-topic (14)
- # other-languages (1)
- # pedestal (4)
- # practicalli (1)
- # re-frame (5)
- # reagent (3)
- # releases (2)
- # remote-jobs (7)
- # shadow-cljs (12)
- # sql (24)
- # startup-in-a-month (2)
- # tools-deps (99)
- # vim (8)
- # vscode (1)
- # xtdb (28)
Hey there. I have some code from 0.6.x version of duct, which uses `
:duct.core/include ["config.edn"]
in dev.edn
. I upgraded to 0.8.0 and this stopped working? How can I merge configurations from multiple sources?Maybe take a look at profiles https://github.com/duct-framework/duct/wiki/Configuration#duct-base-profiles-and-modules
The profiles are a bit inverted in terms of control. I have a core library and project that uses it. I would like to have a partial config in the library and then in the project I;’d like to import that config and fill in some gaps… I don’t know if profiles are great for this… I guess I can always manually merge edns
Profiles allow you to merge any edn resources into your:duct/core config. Sounds like that's what you need but maybe I'm misunderstanding
I want the library’s version be the base and then the web server config to be an override, but using profiles, that would make the web server config a profile I must always enable?