Warn when an attribute could not be interned when transacting.
We may subsequently wish to make this an error.
This commit is contained in:
parent
8b45f0ffea
commit
c128d71ee2
1 changed files with 2 additions and 0 deletions
|
@ -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])
|
||||
|
|
Loading…
Reference in a new issue