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
4 months ago
The suggestions are coming from supabase’s api spec, we will take a look at why select is missing
unicodes
4 months ago
Maybe supabase missed that 😁
Andreas Møller
4 months ago
Maybe. we will look into it
🙏1
Erik Beuschau
4 months 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
4 months 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
4 months ago
Thank you @Kedde!
MartinF
4 months 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