We're using types generated via OpenAPI, which results with some nested types like tags: readonly string[]. This is not allowed by the current Value type from @electric-sql/client.
We would like to see support for readonly arrays too.
export type Value<Extensions = never> =
| string
| number
| boolean
| bigint
| null
| Extensions
| Value<Extensions>[]
+ | readonly Value<Extensions>[]
| { [key: string]: Value<Extensions> }
We're using types generated via OpenAPI, which results with some nested types like
tags: readonly string[]. This is not allowed by the currentValuetype from@electric-sql/client.We would like to see support for readonly arrays too.