This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-06-05
Channels
- # beginners (135)
- # cider (30)
- # clara (66)
- # cljs-dev (18)
- # cljsrn (6)
- # clojure (115)
- # clojure-austin (1)
- # clojure-dev (10)
- # clojure-italy (7)
- # clojure-nl (1)
- # clojure-spec (18)
- # clojure-uk (26)
- # clojurescript (76)
- # cursive (2)
- # datomic (4)
- # devops (1)
- # emacs (19)
- # fulcro (159)
- # garden (3)
- # klipse (5)
- # leiningen (5)
- # off-topic (61)
- # om (7)
- # pedestal (6)
- # re-frame (17)
- # reagent (73)
- # ring-swagger (6)
- # rum (5)
- # shadow-cljs (60)
- # spacemacs (31)
- # specter (4)
- # vim (8)
- # yada (1)
Is there a way to get the last transactions uuids from my om.next reconciler? Or are they only printed to the console? I want to catch them to create a browsable history
You can add
:tx-listen (fn [tx-data {:keys [tx ret sends]}]
(timbre/info tx)
(timbre/info ret)
(timbre/info sends))
to the reconciler config map.Hm okay, but I can't find the transaction UUID which can be used for om.next/from-history
... I will take a closer look to the returned tx-data and try to find it somewhere
I use
(defn mutation-history [reconciler]
(js->clj (.-arr (-> reconciler :config :history))))
👍 4
There, I'm struggling a bit with the slack editor here