Fork me on GitHub
#keechma
<
2020-07-28
>
jenes21:07:51

@mihaelkonjevic is it possible that app definition in the fourth example:

(def app
  {:keechma/controllers {:counter   {:keechma.controller/params true}
                         :counter-2 {:keechma.controller/params (fn [deps] (even? (:counter deps))
                                                                  :keechma.controller/deps [:counter]}}})
should be like this:
(def app
  {:keechma/controllers {:counter   {:keechma.controller/params true}
                         :counter-2 {:keechma.controller/params (fn [deps] (even? (:counter deps)))
                                     :keechma.controller/deps [:counter]}}})