FeatureFuel
1

Type safe queries and subscriptions using table introspection

Source: supabase/supabase#1011 · opened by @jsvde
Hey Supabase!

[supabase-js]( is already written in typescript so I wondered why not take it one step further and have type safe queries (and/or subscriptions) bound to the actual database schema?

With the pg-api and table introspection it would be possible to generate all types required to do so.

Would be super cool to have a typed client library according to the current database schema, since the first thing I did when trying out supabase was a typo in the table name :)

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests