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.uuh sounds good. Thanks 🙂
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))))
There, I'm struggling a bit with the slack editor here
I just found :history in the reconciler, which is exactly what i wanted. thanks for your help and your mutation function 🙂