This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-03-05
Channels
- # beginners (3)
- # boot (205)
- # cider (41)
- # clojars (1)
- # clojure (76)
- # clojure-colombia (1)
- # clojure-dusseldorf (3)
- # clojure-russia (314)
- # clojure-sg (1)
- # clojurebridge (1)
- # clojurescript (115)
- # css (2)
- # cursive (5)
- # editors (2)
- # funcool (2)
- # hoplon (18)
- # jobs (62)
- # jobs-discuss (28)
- # ldnclj (1)
- # leiningen (10)
- # mount (9)
- # off-topic (4)
- # om (93)
- # parinfer (10)
- # proton (1)
- # re-frame (19)
- # ring-swagger (18)
hello all! does anybody knows how to start only certain parts of the system, but replace some config states (in starting parts) by test configs?
no, it doesn't. start-with performs start all system
i need start only ceratin namespaces but in starting namespaces i need swap config to test config
solved! key is new version of mount. i've used 0.1.9 but now exist 0.1.10 with new functionality
(-> (only #{#'foo/a #'foo/b #'foo/c #'bar/d #'baz/e}) (with-args {:a 42}) (except [#'foo/c #'bar/d]) (swap-states {#'foo/a #'test/a}) (swap {#'baz/e {:datomic {:uri "datomic:<mem://composable-mount>"}}}) mount/start)