asami

bocaj 2021-10-16T15:56:52.131700Z

I’m using version 2.2.0, and (a/as-of db (Instant/now)) throws “Unable to retrieve database for datatype class java.time.Instant”. However this works (a/as-of db (java.util.Date.)) . Should I make sure to use java.util.Date or is this unexpected?

quoll 2021-10-16T17:20:18.133100Z

I probably just supported Dates without thinking. I’ll try to fix it quickly

👍 1
bocaj 2021-10-16T22:57:55.136400Z

I was following along with your excellent strangeloop talk, and could get this slide's code to work. I think its reasonable to ask me the user to coerce to java.util.date, but java.time Instant would be convenient.

quoll 2021-10-16T23:08:01.136700Z

OK, I see what I did. I mixed myself up thinking of instants, because Clojure “instants” are actually java.util.Date values. But the instant datatype is supported in storage. “Instant” is being used with more than one meaning, and appears in various places… and I got myself confused. A mistake on my part. This function should support both. I’m fixing it right now

quoll 2021-10-17T00:09:47.138600Z

BTW, thank you for the compliment on my talk ☺️