Lazy loading of refs for classes isn't supported in the UI yet so no need to self-inflect this. Also can move schema graph from :string to :default usage now
@@ -74,10 +74,6 @@
:else
block))
-(defn- with-tags
- [db block]
- (update block :block/tags (fn [tags] (d/pull-many db '[*] (map :db/id tags)))))
-
(defn- mark-block-fully-loaded
[b]
(assoc b :block.temp/fully-loaded? true))
@@ -226,7 +226,8 @@
(when-let [props (not-empty (:properties class-m))]
(merge
(->block-properties (merge props (property-value-properties pvalue-tx-m)) uuid-maps all-idents)
- {:block/refs (build-property-refs props all-idents)}))
+ ;; TODO: Re-enable when this is also done in the app as this can cause block loading problems
+ #_{:block/refs (build-property-refs props all-idents)}))
(when class-parent
{:class/parent
(or (class-db-ids class-parent)
@@ -76,7 +76,7 @@
{"schema:Integer" :number
"schema:Float" :number
"schema:Number" :number
- "schema:Text_Class" :string
+ "schema:Text_Class" :default
"schema:URL_Class" :url
"schema:Boolean" :checkbox
"schema:Date" :date})