Fork me on GitHub
#datomic
<
2018-04-29
>
joelsanchez21:04:17

just tried to transact an entity with an string where a ref value should've been, was getting this cryptic error: :db.error/tempid-not-an-entity tempid used only as value in transaction as I understand it, Datomic was trying to interpret my string as a tempid for the ref attribute, and failed at that

joelsanchez21:04:25

it's not obvious to me how to improve the error message but it's totally unhelpful here 😂

joelsanchez21:04:11

(so basically, {:my-app/should-be-a-ref "a string"} = that error)

Alex Miller (Clojure team)21:04:33

strings are valid temp ids

joelsanchez21:04:49

I know, I meant that it tried to take my string as a tempid and failed because I was not trying to use a tempid there

joelsanchez21:04:02

maybe the error could handle this case too, idk

sova-soars-the-sora22:04:56

I'm trying to start my local dev transactor but I get the error,

sova-soars-the-sora22:04:16

I'm using datomic-free-0.9.5561 ... maybe it's just a version mismatch?

sova-soars-the-sora22:04:09

Nevermind, just leapt to the latest pro version ^.^

sova-soars-the-sora22:04:06

Actually, I do have a question: how do I know the latest version still under perpetual license with my license-key?

marshall12:04:52

You can see the valid maintenance period for your license in your http://my.datomic.com dashboard

sova-soars-the-sora22:04:54

in all likelihood... Release Date < License Expiry Date