fix: export for overlapping property+class

overlapping entity with blocks was exporting duplicate blocks
This commit is contained in:
Gabriel Horner
2025-03-28 10:39:20 -04:00
parent 631fdcafee
commit dd4b68a140
3 changed files with 24 additions and 12 deletions

View File

@@ -52,8 +52,9 @@
(fn [m]
(cond->
(-> m
(update :classes update-vals (fn [m]
(update m :build/class-properties sort)))
;; TODO: Fix order of these build keys
(update :classes update-vals (fn [m] (update m :build/class-properties sort)))
(update :properties update-vals (fn [m] (update m :build/property-classes sort)))
(update ::sqlite-export/kv-values
(fn [kvs]
;; Ignore extra metadata that a copied graph can add