This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-04-21
Channels
- # beginners (25)
- # cljsrn (3)
- # clojars (4)
- # clojure (37)
- # clojure-news (1)
- # clojure-poland (2)
- # clojure-uk (6)
- # clojurescript (9)
- # datomic (2)
- # duct (7)
- # fulcro (2)
- # hoplon (3)
- # jobs (1)
- # keechma (1)
- # luminus (1)
- # off-topic (27)
- # om (3)
- # om-next (2)
- # overtone (4)
- # pedestal (2)
- # re-frame (11)
- # reagent (4)
- # reitit (6)
- # rum (2)
- # shadow-cljs (212)
- # slack-help (3)
- # spacemacs (1)
- # sql (1)
- # test-check (32)
- # tools-deps (1)
I want to override the behavior of :duct.migrator.ragtime/sql
a little bit, so in my dev.clj
I have
(derive ::foo :duct/module)
(defmethod ig/init-key ::foo
[[_ k] opts]
(ig/init-key [:duct.migrator.ragtime/sql k] opts))
and in my cofig.edn
:
[:dev/foo :my-migration-key] {:up "..." :down "..."}
but the system failed to start and threw:
ClassCastException clojure.lang.PersistentVector cannot be cast to clojure.lang.Keyword clojure.lang.Keyword.compareTo (Keyword.java:114)
how do I fix this?