Skip to content

Make CodecMetadata.getDataTypes() more flexible #600

@skykatik

Description

@skykatik

Feature Request

Is your feature request related to a problem? Please describe

I was making my own codec and noticed that CodecMetadata.getDataTypes() does not allow to return subtypes of PostgresTypeIdentifier (like a PostgresqlObjectId) when they are cached in static fields .

Describe the solution you'd like

Change return type of method to covariant, i.e. Iterable<? extends PostgresTypeIdentifier>.

Teachability, Documentation, Adoption, Migration Strategy

That method is already designed to return any type of iterable, and usages of it related to read, so therefore, there will be no problems with the existing code

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