@nuxtjs/supabase
Hi, I have a question regarding a nuxtjs/supabase behavior.
If I run the following REST request
https://<ID>.supabase.co/rest/v1/profiles?select=id,%20email&apikey=<KEY>
I get
[{"id":"0ca48c9d-4ae2-48d1-bcae-347e851b13af","email":"[email protected]"},
{"id":"7cc5f757-7822-463f-8ae0-c61c67f8dbe7","email":"[email protected]"}]
If I do the same from my Nuxt3 project:
const { data: profiles } = await useAsyncData('profiles', async () => {
const { data } = await supabase.from('profiles').select()
return data;
})
console.log(profiles);
The results in the logs are:
{id: null, email: [email protected]}
{id: null, email: [email protected]}
ID is the primary key, non nullable, type uuid
RLS is disabled (momentarily to exclude it from the potential causes)
Javascript module is nuxtjs/supabase
I checked the network logs and the IDs are well returned from Supabase.
It seems like the Nuxt Supabase module is altering these IDs.
Does anyone know what could be causing this ?
Thanks in advance
0 Replies