Skip to content

Allow readonly array for Value type#4257

Open
evanob wants to merge 1 commit intoelectric-sql:mainfrom
liveflow-io:readonly
Open

Allow readonly array for Value type#4257
evanob wants to merge 1 commit intoelectric-sql:mainfrom
liveflow-io:readonly

Conversation

@evanob
Copy link
Copy Markdown
Contributor

@evanob evanob commented May 1, 2026

We infer OpenAPI types from our shapes defined on the backend, and these define arrays as readonly, which is desirable to prevent mutation of the data synced from Electric. With this change, we allow both mutable and immutable arrays.

image

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 1, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@electric-sql/react@4257
npm i https://pkg.pr.new/@electric-sql/client@4257
npm i https://pkg.pr.new/@electric-sql/y-electric@4257

commit: 19890fb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant