You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Multiple GoTrueClient instances detected in the same browser context. It is not an error, but this should be avoided as it may produce undefined behavior when used concurrently under the same storage key.
I am using multiple clients with singleton: false since I am using multiple schema, and client instanciation with singleton does not allow it.
softmarshmallow
changed the title
Best practice for non-singleton browser client for multi-schema
createClient pattern lacks of extensibility with multi-schema usage (singleton gotrue warning)
Apr 21, 2025
I am constantly getting warning from supabase.
I am using multiple clients with
singleton: false
since I am using multiple schema, and client instanciation with singleton does not allow it.e.g.
(this is not a
@supabase/ssr
problem, but asupabase-js
problem)What is the best practice when using multiple schema? do you have plans for supporting switching schema on-the-go with a singleton instance?
e.g.
The text was updated successfully, but these errors were encountered: