Hi, thank you for datahike!! I use it on clojure only. Version 2.1 has been extended to take UUIDs. It does not take #inst though. Is this on purpose to be compatible with cljs? At the moment I put this in all my apps using datahike where n is hitchhiker.tree.node:
(extend-type java.util.Date
n/IEDNOrderable
(-order-on-edn-types [_] 9))
Hi @magra, I thought about adding more literals in one of the next versions. You could add the Date with a PR to the hitchhiker-tree project in the hitchhiker.tree.key-compare
namespace if you like.
Hello @konrad.kuehne, I will. Thank you for your work!!!
Ahh... I use that for clojure only, so java.util.Date. What class would be appropriate for cljs or would I leave that as is?
Is js/Date compatible enough?
We have to see how cljs handles the #inst literal.