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
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.
Current API for v3 – we will improve it:
How wonderful! I'll post here when I've got the equivalent of henryw374/time-literals up and running :^)
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 nilThis is on me, I broke it, sorry. I'll fix it and keep you posted. Thank you for this detailed bug report.