hyperfiddle

Dustin Getz (Hyperfiddle) 2025-06-19T12:48:31.485619Z

I'm looking for a few Datomic users to try our new datomic browser tool, which we are preparing for release. DM me to schedule

oλv 2025-06-19T14:41:04.775989Z

How can I teach Electric to transfer new types? For example I would like to be able to transfer time values client<->server without having to manually serialize them. I'm used to using https://github.com/henryw374/time-literals?tab=readme-ov-file#clojure for serializing/deserializing time values.

👀 1
2
Geoffrey Gaillard 2025-06-20T08:15:18.829429Z

Current API for v3 – we will improve it:

🙏 1
oλv 2025-06-20T09:32:11.768859Z

How wonderful! I'll post here when I've got the equivalent of henryw374/time-literals up and running :^)

👍 2
2025-06-19T20:26:53.303269Z

My code using electric-forms5 worked, but now I'm getting this error:

L89:37 hyperfiddle.electric-forms5/SetValidity
function TypeError() { [native code] }: Cannot read properties of null (reading 'getElementsByTagName')
I'm just using this input, and error appears when I return an exception:
(f5/Input! :gp/name nil
                 :required true
                 :Parse (e/fn [str]
                          (if (< (count str) 5)
                            (ex-info "Too short!" {})
                            str)))
I looked inside electric-forms5, and parent-has-only-one-child-of-type? gets nil from node .-parentElement . I have no idea why. (println (-> dom/node .-parentElement)) inside :Parse fn also prints nil

✅ 1
Geoffrey Gaillard 2025-06-19T20:39:00.893299Z

This is on me, I broke it, sorry. I'll fix it and keep you posted. Thank you for this detailed bug report.

🤝 1