Hacker News new | ask | show | jobs
by kiwicopple 1403 days ago
> 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)