fix: incorrect validation message

Also bring back docstring that shouldn't have been removed
This commit is contained in:
Gabriel Horner
2025-10-21 12:43:13 -04:00
parent 652a9061ea
commit c248ea16aa
2 changed files with 2 additions and 1 deletions

View File

@@ -205,7 +205,7 @@
{:error/message "should be a URL"}
url-entity?]
:node [:fn
{:error/message "should be a page/block with tags"}
{:error/message "should be a node with a title"}
node-entity?]}
internal-validation-schemas))

View File

@@ -13,6 +13,7 @@
doesn't handle updating DB graphs well yet e.g. doesn't handle :block/tx-id"
[conn tx-report]
(when-not (:pipeline-replace? (:tx-meta tx-report))
;; TODO: Handle block edits with separate :block/refs rebuild as deleting property values is buggy
(outliner-pipeline/transact-new-db-graph-refs conn tx-report)))
(defn ^:api add-listener