beam icon indicating copy to clipboard operation
beam copied to clipboard

Postgres column doesn't roundtrip for type `Maybe (Vector Text)`

Open roberth opened this issue 2 years ago • 0 comments

I have a table with

    labels :: Columnar f (Maybe (Vector Text))

Inserts work fine. Nothing and Just [] are distinct in the database, as expected. However, queries return Just [] when they should Nothing.

This might be a problem with the FromBackendRow instance for Maybe and/or Vector.

Found on beam version 6b3e4c91ebabafc79878a35648d7f78d378ce445

roberth avatar Aug 27 '23 17:08 roberth