supabase-js
supabase-js copied to clipboard
Non nullable computed field not properly introspected
Yup, I forgot to regenerate the types, duhhh 😅!
All of my complex types now work! Thanks you!
I am having a problem with counting though:
CREATE OR REPLACE FUNCTION public.user_count(comments) RETURNS bigint LANGUAGE sql SET search_path = '' AS $$ SELECT COUNT(*) FROM public.comments WHERE comments.user_id = auth.uid(); $$;This returns
number | nullinstead of justnumber... that, I think, is only thing left 🤞You can view my repo:
https://github.com/jdgamble555/supabase-types
J
Originally posted by @jdgamble555 in #1641