It works if you write it, and in combination with Prefer return's the correct information, but isn't visible in the dropdown as you can find it in POST.
Andreas Møller
1 month ago
The suggestions are coming from supabase’s api spec, we will take a look at why select is missing
unicodes
1 month ago
Maybe supabase missed that 😁
Andreas Møller
1 month ago
Maybe. we will look into it
🙏1
Erik Beuschau
1 month ago
It might be related to the method being set to PATCH? It usually shows up for GET requests at least. But we'll check in the swagger file we receive from Supabase 👍
Yes, it’s related to the PATCH method, because for POST you already have it. Even though it’s not listed for PATCH, it works perfectly, which means Supabase is handling it correctly.
👍1
Kedde
1 month ago
I just checked the swagger documentation from Supabase and as Erik suspected, Supabase doesnt document that select is supported by the PATCH endpoints. So if they do support it anyway it would probably that their swagger documentation is incomplete it some way.
unicodes
1 month ago
Thank you @Kedde!
MartinF
1 month ago
@Kedde will the swagger docs be useless when they stop supporting the old anon_key and only accept the new publishable key? More of a supabase question than a nordcraft one but just wondering. Having the service set up is super handy