Bobbie Soedirgo

Results 255 comments of Bobbie Soedirgo

Tried reproducing this - here's what I got: ```sql create table t (id int8 generated always as identity); ``` ```ts export type Json = | string | number | boolean...

Ah, thanks - I was able to reproduce this.

You'll want to pass an array type to `.returns()` here so the types work properly on `.single()`. We also fall back to `never` if you pass a non-array type to...

We'll put up the docs on the CLI reference later. You can use it like so: ```toml # supabase/config.toml [functions.func_a] verify_jwt = false [functions.func_b] verify_jwt = true ``` Edit: you...

Can you create a new issue @mosnicholas? And also include your `db.major_version` in `supabase/config.toml` in the issue description?

Hi, can you put up a repo so I can reproduce the issue? We have a test [here](https://github.com/supabase/postgrest-js/blob/ad746086ceb7a56c126e547f1aec9c01e0b54286/test/index.test-d.ts#L60) which doesn't have the issue above, so not sure how that happens.

Can you share (anonymized) snippets of where the error occurs? It's difficult to debug with nothing but this info.

I'm suspecting it's something to do with Windows line endings - when you open `database.types.ts` in VS Code, at the bottom right corner, does it show `LF` or `CRLF`?

Nvm, might be unrelated. If you copy your `database.types.ts` to the TS playground, does it complain? Otherwise I'm not sure where to start debugging - I also couldn't find out...

Go for it @mahendraHegde! > we need to support both object and array of objects in POST body of /columns Yup, ideally we also do the batch create in one...