datahike

https://datahike.io/, Join the conversation at https://discord.com/invite/kEBzMvb, history for this channel is available at https://clojurians.zulipchat.com/#narrow/stream/180378-slack-archive/topic/datahike
magra 2020-02-12T10:27:53.095500Z

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))

kkuehne 2020-02-12T10:49:49.095600Z

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.

magra 2020-02-12T10:57:20.095900Z

Hello @konrad.kuehne, I will. Thank you for your work!!!

magra 2020-02-12T12:06:41.096100Z

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?

magra 2020-02-12T12:10:53.096300Z

Is js/Date compatible enough?

kkuehne 2020-02-12T12:40:15.096500Z

We have to see how cljs handles the #inst literal.