Use of bigint attribute value type

Hi,

I have created an attribute with a bigint value type in my schema. However when I try to transact a new value I get an exception.

Schema:
{:db/ident :smsc/value :db/valueType :db.type/bigint :db/cardinality :db.cardinality/one :db/unique :db.unique/identity}

Transaction: (d/transact conn {:tx-data [{:smsc/value 10N}]})

Exception:
{:datomic.client-spi/context-id "cbf046b5-3819-4bb0-8885-b2eabd2c262a", :cognitect.anomalies/category :cognitect.anomalies/incorrect, :cognitect.anomalies/message "Cannot write 10 as tag null", :dbs [{:database-id "a6daa527-aa39-41a6-a137-7bd572a524a0", :t 13, :next-t 14, :history false}]}

How am I supposed to transact bigint value properly?

Thanks

What version of Datomic Cloud and what versions of the client API and Clojure are you using?

I was able to transact a bigint without any trouble using your example.

I apologize for the hasty reply there - I see the same error when using the latest release of Datomic.

I believe we have a fix for this in the works and will update this post when it is released.

Yes, indeed I am running the latest release of Datomic Cloud.

Thanks for the quick answer

Scary, stuff like this is what stops me from using datomic in production and just use it for hobby things.

The latest release of Datomic Cloud includes a fix for this issue: