You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
CREATETYPEautocomplete_resultas (
id text,
label text,
similarity real
);
Reacted by Philipp Steinrötter, Dave Parsons and Bobbie Soedirgo
Activity
davepar commentedon Jan 9, 2023
Related bug: supabase/cli#686
[-]Support custom data types[/-][+]Support composite types[/+]github-actions commentedon Jan 16, 2023
🎉 This issue has been resolved in version 0.58.0 🎉
The release is available on:
Your semantic-release bot 📦🚀