Warn when an attribute could not be interned when transacting.

We may subsequently wish to make this an error.
This commit is contained in:
Richard Newman 2016-08-23 09:46:00 -07:00
parent 8b45f0ffea
commit c128d71ee2

View file

@ -115,6 +115,8 @@
v (if (ds/kw? (db/schema db) a) ;; TODO: decide if this is best. We could also check for ref and numeric types.
v
(db/entid db v))]
(when-not (integer? a)
(println "WARNING: unknown attribute" a))
[op e a v tx]))
(defrecord Transaction [db tempids entities])