From 443f7edd851f8fbd158af87118cd638945dd360e Mon Sep 17 00:00:00 2001 From: Dino Omanovic Date: Tue, 1 Sep 2026 13:46:55 +0200 Subject: [PATCH 1/2] Add scalar list field support (BND-5037) Studio sends a `field-update` with `isList: true` for scalar list fields (String/ID/Enumeration/Int/Float/Boolean/Date/DateTime lists), but withholds those updates unless the SDK announces `scalarListSync` in its ready message. No published SDK announces it, so list fields never update live. This ports the SDK half of the change, which was implemented against the copy of this SDK that still lives in the Hygraph monorepo and so was never released. - Announce `scalarListSync` in the ready message. It is not configurable: it states what this build can handle, not what the consumer wants. - Render a whole-list binding as its items joined with `, `, or per item when items are tagged `data-hygraph-list-index` (`listIndex` on `createPreviewAttributes`). - Refuse to write a list into an element that has child elements, so a `