fix: validate graph shouldn't remove empty-placeholder values

This commit is contained in:
Tienson Qin
2025-11-07 01:29:11 +08:00
parent 561f422c09
commit cb0bda3c52

View File

@@ -168,7 +168,8 @@
(:db/ident property))]
(keep
(fn [[b v]]
(when-not (matches v)
(when-not (or (matches v)
(= :logseq.property/empty-placeholder (:db/ident (d/entity db v))))
[:db/retract b (:db/ident property) v]))
values)))
properties)]