fix: :checkbox property not working in simple queries and rules

Also fix booleans not rendering in query table
This commit is contained in:
Gabriel Horner
2024-06-18 10:36:35 -04:00
parent 82f01d562c
commit ee77145caf
9 changed files with 23 additions and 21 deletions

View File

@@ -238,8 +238,7 @@ prop-d:: [[nada]]"}])
(dsl-query "(and (not (page-property foo bar)) (page-property parent [[child page 2]]))")))
"Page property queries nested NOT in first clause")
;; TODO: Enable when boolean queries work
#_(testing "boolean values"
(testing "boolean values"
(is (= ["page1"]
(map :block/name (dsl-query "(page-property interesting true)")))
"Boolean true")