Skip to content

Support composite types #399

Closed
Closed

Description

@hmnd

Feature request

Is your feature request related to a problem? Please describe.

TypeScript type generation does not currently support custom data types. This is particularly an issue for me because it results in my function having an 'unknown' return type instead of my custom data type.

Describe the solution you'd like

Support for custom data types in generated TypeScript types.

Additional context

Example data type I have as the return type of my function:

CREATE TYPE autocomplete_result as (
   id text,
   label text,
   similarity real
);

Activity

  1. added
    enhancement
    on Oct 21, 2022
  2. davepar commented on Jan 9, 2023

    @davepar
    Contributor

    Related bug: supabase/cli#686

  3. changed the title [-]Support custom data types[/-] [+]Support composite types[/+] on Jan 9, 2023
  4. github-actions commented on Jan 16, 2023

    @github-actions

    🎉 This issue has been resolved in version 0.58.0 🎉

    The release is available on:

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementreleased

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions