Skip to content

Handling domains created as custom types or other domains #41

@laurenceisla

Description

@laurenceisla

Right now, a domain created as a data type defined in pg_catalog returns the name of the base type. No problem there, since:

create domain mydomain as int;

will be shown in OpenAPI as an integer. The problem starts when the domain is created as a custom type or as another domain. Then, postgrest-openapi treats it as a string instead of the schema defined by the base type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions