Support composite types
hmnd opened this issue ยท 2 comments
hmnd commented
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
);
davepar commented
Related bug: supabase/cli#686
github-actions commented
๐ This issue has been resolved in version 0.58.0 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐