The Data API supports postgres arrays by returning {"arrayValue": {"<valueType>": [<value1>, <value2>]}}, but this package is returning {"<valueType>": [<value1>, <value2> ]}, meaning it's not only transforming the first level of the object. Expected result would be [<value1>, <value2>].
So far I bypassed this issue by transforming the field manually, but i'd be nice if this package supported this out of the box.
Updating these values works as expected, but fetching them does not.
The Data API supports postgres arrays by returning
{"arrayValue": {"<valueType>": [<value1>, <value2>]}}
, but this package is returning{"<valueType>": [<value1>, <value2> ]}
, meaning it's not only transforming the first level of the object. Expected result would be[<value1>, <value2>]
.So far I bypassed this issue by transforming the field manually, but i'd be nice if this package supported this out of the box.
Updating these values works as expected, but fetching them does not.