We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Datascript (0.18.3) accepts transaction data that contain invalid refs:
(-> (d/empty-db {:x {:db/valueType :db.type/ref}}) (d/with [[:db/add -1 :x "?"]])) ; => #datascript.db.TxReport {:db-before #datascript/DB {:schema {:x #:db{:valueType :db.type/ref}} :datoms []} :db-after #datascript/DB {:schema {:x #:db{:valueType :db.type/ref}} :datoms [[2 :x 1 536870913]]} :tx-data [#datascript/Datom [2 :x 1 536870913 true]] :tempids {"?" 1 -1 2 :db/current-tx 536870913} :tx-meta nil}
In a similar set up Datomic will throw ":db.error/tempid-not-an-entity tempid used only as value in transaction"
The text was updated successfully, but these errors were encountered:
Thanks! Might be worth fixing, yes
Sorry, something went wrong.
7dfff2c
No branches or pull requests
Datascript (0.18.3) accepts transaction data that contain invalid refs:
In a similar set up Datomic will throw ":db.error/tempid-not-an-entity tempid used only as value in transaction"
The text was updated successfully, but these errors were encountered: