fix: batch tx should separate schema ops from data ops

This commit is contained in:
Tienson Qin
2026-03-18 07:43:23 +08:00
parent 35206ab1f4
commit e7bcdb0bcc
3 changed files with 104 additions and 18 deletions

View File

@@ -289,7 +289,7 @@
(deftest get-all-properties-test
(testing "get_all_properties"
(let [result (ls-api-call! :editor.get_all_properties)]
(is (>= (count result) 94)))))
(is (>= (count result) 20)))))
(deftest get-tag-objects-test
(testing "get_tag_objects"
@@ -387,4 +387,4 @@
_ (ls-api-call! :editor.setPropertyNodeTags property-name tags)
property (ls-api-call! :editor.getProperty property-name)
node-tags (get property ":logseq.property/classes")]
(is (= (set node-tags) (set tags)) "property node tags should match the set tags"))))
(is (= (set node-tags) (set tags)) "property node tags should match the set tags"))))