From 474fb58e20a3d700933603673b6bd001f482a26f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Tejero=20Cantero?= Date: Fri, 7 Aug 2026 01:46:00 +0200 Subject: [PATCH] :bug: Build a synced page node the way the projection does `apply-add-page` sent the new Page node through `nodes/validate-node`, which checks a map against the registry schema and returns it unchanged. Every other node on both write paths goes through `nodes/project-attrs`, which also selects the projected keys and is the single place a column-level rule can live. A rule added there reached a rebuilt page and not a synced one. AI-assisted-by: mixed models --- backend/src/app/graph/sync.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/app/graph/sync.clj b/backend/src/app/graph/sync.clj index 1ce844d3ed..eec5a8c166 100644 --- a/backend/src/app/graph/sync.clj +++ b/backend/src/app/graph/sync.clj @@ -662,7 +662,7 @@ [index {:keys [id name page]}] (let [page-id (or id (:id page)) page (or page {:id page-id :name name}) - page (nodes/validate-node "Page" {:id page-id + page (nodes/project-attrs "Page" {:id page-id :name (or (:name page) "Page") :index (count (:pages index))}) doc-id (:doc-id index)