2
get values of enum
Source: supabase/supabase#18536 · opened by @sjohns21
i have a native_language enum
i'd like to have direct access to these values in my client code (typescript)
but the client type output is a string union
and i don't see how to turn this into an array of values
i'd like to have direct access to these values in my client code (typescript)
but the client type output is a string union
and i don't see how to turn this into an array of values
No pledges yet. Be the first to back this.
Comments
Similar requests
Extension to the current "Copy as Markdown" function
1 vote · 0 comments
User enumeration that could be avoided on email change
4 votes · 0 comments
Add schema-aware Functions, Args, and Returns helper types to generated Supabase TypeScript types
1 vote · 0 comments
Generate `enum` based on DB enums
3 votes · 0 comments
access to enum unions in db.types.ts (CLI: supabase gen types typescript)
8 votes · 0 comments
No comments yet.