Skip to content

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

@roberth

Description

@roberth

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 6b3e4c9

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions