Skip to content

Add UUID array codec #336

@richlackey

Description

@richlackey

Feature Request

UUID array is a given datatype for Postgres. Identity arrays are a common metaphor.

Is your feature request related to a problem? Please describe

Using UUIDs for identity is a common practice. Given Postgres array support, UUID[] eliminate the requirement for trivial child identity tables.

Describe the solution you'd like

Create a UuidArrayCodec.

Describe alternatives you've considered

There are only two possible alternatives: add the codec as a default; add the codec as an extension. The latter is inferior because most of the underlying support needed to create a standalone codec is already present as abstract classes within the codec package. If the parent classes were public, then an extension could be built upon that base.

Teachability, Documentation, Adoption, Migration Strategy

This simply exposes a defined datatype.

Repo: richlackey/r2dbc-postgresql contains an implementation based on the current main.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions