fix: queries with default values

and objects that are descendants of a tag with
a default-value property. Fixes
https://test.logseq.com/#/page/67551ea7-bd58-48bb-a0ea-8b976fa94423.
Also extended sqlite.build to allow closed value properties to
be configured with :build/properties
This commit is contained in:
Gabriel Horner
2024-12-09 12:08:52 -05:00
parent f5666fab47
commit bcdd162145
5 changed files with 86 additions and 44 deletions

View File

@@ -179,7 +179,7 @@
(into (mapv #(vector (keyword (str (name %) "-closed"))
{:block/schema {:type %}
:build/closed-values (closed-values-config (keyword (str (name %) "-closed")))})
[:default :url :number #_:date]))
[:default :url :number]))
(into {}))}))
(def spec