MDobs
11/21/2022, 7:12 AMkonga
11/21/2022, 7:57 AM.select()
on insert nowkonga
11/21/2022, 7:57 AMkonga
11/21/2022, 7:59 AMMDobs
11/21/2022, 8:03 AMkonga
11/21/2022, 8:06 AMkonga
11/21/2022, 8:06 AMMDobs
11/21/2022, 8:08 AMMDobs
11/21/2022, 9:12 AMlet { user, error } = await supabase.auth.signUp({
email: 'someone@email.com',
password: 'LHVsQdmiqqmfyGAJgGfx'
})
user
is not correct, it should be data
silentworks
11/21/2022, 9:45 AMsilentworks
11/21/2022, 9:47 AMchuwai
11/21/2022, 2:15 PMquentin_guerrier
11/21/2022, 4:28 PMgaryaustin
11/21/2022, 5:05 PMgaryaustin
11/21/2022, 5:08 PMAnurag
11/21/2022, 6:44 PMcaseycrogers
11/21/2022, 7:06 PMsupabase_flutter
from v 1.0.1
to 1.2.0
. Generally I'm super happy with the work you guys are doing, so I don't want this to come off too critical, just throwing in some customer feedback:
I really really really don't like the change where select
now takes type parameters. It makes the API extremely kludgy to use.
If you want to give users the flexibility to pick the return format, maybe have a private method that takes type parameters and then a series of public methods that are just thin wrappers on top of the private function?
like selectRows()
, selectResponse
etc.
or accomplish the same with a default select
behavior and then a series of modifiers to get the non-default behavior:
select().asRows()
, select().asResponse()
etccaseycrogers
11/21/2022, 7:09 PMcaseycrogers
11/21/2022, 7:12 PMcaseycrogers
11/21/2022, 7:15 PMwithConverter
?Vinzent
11/21/2022, 7:36 PMselect
, select with count or force response, single and maybeSingle.
The first thing I want to improve in v2.caseycrogers
11/21/2022, 7:37 PMsilentworks
11/21/2022, 10:52 PMPSully
11/22/2022, 5:33 AMPSully
11/22/2022, 5:35 AMerror.message
, but docs would still be nice if anyone has a link. 😅Olyno
11/22/2022, 2:30 PMKamaelæ„›
11/22/2022, 5:17 PMOlyno
11/22/2022, 5:26 PMKamaelæ„›
11/22/2022, 5:32 PMKamaelæ„›
11/22/2022, 7:13 PM