Bobbie Soedirgo

Results 256 comments of Bobbie Soedirgo

Hey @kyeotic, `[2022-12-28, 2022-12-28]` is equivalent to `[2022-12-28, 2022-12-29)` - the latter is just how Postgres decides to display the value. You can try running this on the SQL editor:...

Are you sure it behaves differently on the dashboard? I can't seem to reproduce that (same result using the Table Editor): ``` select '[2022-12-28, 2022-12-28]'::daterange as same_day_inclusive, '[2022-12-28, 2022-12-29)'::daterange as...

Hey there, typings for embedded tables is still a WIP, but we have a [PR](https://github.com/supabase/postgrest-js/pull/345) that allows you to override the return type.

Hey @zachblume, this is outside the scope of the client library - the response from the query to the REST server doesn't include column information. For this you'd need to...

I think you can use [`.abortSignal()`](https://supabase.com/docs/reference/javascript/db-abortsignal) with [`AbortSignal.timeout()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/timeout) for this (we should put this on the docs tbh): ```ts const { data, error } = await supabase .from('some_table') .select() .abortSignal(AbortSignal.timeout(3000))...

@skulltech @adityadhawan22 have you had a chance to check if updating and restarting the local dev setup (if using the CLI) or the `supabase/realtime` container (if using self-hosted) fixes it?

Hey there, what version of TypeScript are you on? Also, can you put up an example project that demonstrates the issue so I can replicate it?

FWIW this seems to run fine: https://www.typescriptlang.org/play?#code/C4TwDgpgBAUgzgewHZQLwCgpQD5TsAJwEskBzTHKJAVwFsAjCAi3ehBAGwgEMkWrqHDvwDeUANoBrCCABceQiVIBdefGSVqSACYQAZiQjaoAX37qk45UA

@maxcodefaster you can use the client library for each components independently, but you need all for supabase-js. What's common.js? There's no significant bloat in realtime-js as far as I'm aware.

We weren't considering tree-shaking in v2, but might in v3. That said there seems to still be some low hanging fruits here - realtime-js seems to have doubled in size...