Fork me on GitHub
Jacob O'Bryant18:09:39

This Thursday at 9:30 AM Pacific I'm gonna take a crack at using Fly Machines as a sandbox for untrusted Babashka scripts. I've never touched Fly before so hopefully we don't run into any pitfalls/timesinks 🙂 . Zoom link: RSVP on Meetup to get a calendar invite:


I think one of the Biff livestreams adds a web form in… can anyone remember which one it was (if I’m right)?


that’s the one! thx!


Is there a way to see what the`params` are within this function when a form is submitted from the frontend?

(defn set-bar [{:keys [session params] :as req}]
  (biff/submit-tx req
                  [{:db/op :update
                    :db/doc-type :user
                    :xt/id (:uid session)
                    :user/bar (:bar params)}])
  (biff/render (bar-form {:value (:bar params)})))

Jacob O'Bryant23:09:18

Yep, two ways I commonly do it: • add a (prn params) (or (biff/pprint params)) right before the submit-tx • add a (def params* params) right before the submit-tx, then inspect params* from the repl


<sound of steel through air> 🥷