Open Zebnastien opened 1 month ago
This issue is related to #411 In short, the default supabase types path setting is not working if not explicitly declared in nuxt.config.ts
@nuxtjs/supabase: 1.4.1 nuxt: 3.13.2
Just run the script mentionned in NuxtSupabase documentation (https://supabase.nuxtjs.org/get-started#types)
As said in the documentation, serverSupabaseClient and serverSupabaseServiceRole should get typing from ./types/database.types.ts by default.
serverSupabaseClient and serverSupabaseServiceRole are not getting typing unless I explicitly add this to to nuxt.config.ts:
supabase: { types: "./types/database.types.ts", },
This issue is related to #411 In short, the default supabase types path setting is not working if not explicitly declared in nuxt.config.ts
Version
@nuxtjs/supabase: 1.4.1 nuxt: 3.13.2
Steps to reproduce
Just run the script mentionned in NuxtSupabase documentation (https://supabase.nuxtjs.org/get-started#types)
What is Expected?
As said in the documentation, serverSupabaseClient and serverSupabaseServiceRole should get typing from ./types/database.types.ts by default.
What is actually happening?
serverSupabaseClient and serverSupabaseServiceRole are not getting typing unless I explicitly add this to to nuxt.config.ts: