News for hackers. Stuff that matters.
Re:Supabase-JS v2 by kiwicopple on Tuesday August 16, 2022 @03:58PM (#32488025)
> we seem to have lost all typing for Views

I've sent this to the team. We generate the types directly from database, so it's definitely possible.

> PostREST style embedding

For now, you'll need to do something like this:

https://supabase.com/docs/reference/javascript/next/typescri...

In future releases I think we'll have an approach which doesn't require any manual intervention, but for this release we wanted to keep the upgrade path relatively simple (it will probably require us to change from strings - `select('id, name')` - to objects)

There are no comments on this comment yet.