om

Please ask the channel first, not @dnolen directly!
n2o 2018-06-05T13:42:07.000083Z

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

2018-06-05T13:46:18.000625Z

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.

n2o 2018-06-05T13:48:13.000352Z

uuh sounds good. Thanks 🙂

n2o 2018-06-05T13:56:47.000830Z

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

2018-06-05T13:59:52.001001Z

I use

(defn mutation-history [reconciler]
     (js->clj (.-arr (-> reconciler :config :history))))

👍 1
2018-06-05T14:00:46.000252Z

There, I'm struggling a bit with the slack editor here

n2o 2018-06-05T14:01:50.000597Z

I just found :history in the reconciler, which is exactly what i wanted. thanks for your help and your mutation function 🙂