Describe the bug
Try use custom schema which was created from rpc call in dynamic mode
Get an error:
PostgrestException(message: The schema must be one of the following: public, storage, graphql, realtime, code: PGRST106, details: Not Acceptable, hint: null)
I/flutter (11846): #0 PostgrestBuilder._parseResponse (package:postgrest/src/postgrest_builder.dart:283:7)
I/flutter (11846): #1 PostgrestBuilder._execute (package:postgrest/src/postgrest_builder.dart:164:14)
I/flutter (11846):
I/flutter (11846): #2 PostgrestBuilder.then (package:postgrest/src/postgrest_builder.dart:372:24)
I/flutter (11846):
To Reproduce
init supabase client
call rpc( which create custom schema with name (customSchema) + make all grants(USAGE, PRIVILEGES)
make call: await sbClient.schema(customSchema).from(....)
The schema has to be added to postgrest as well. Best to follow the documentation. Though, I think it's generally uncommon to create whole new schema from rpc.
Describe the bug Try use custom schema which was created from rpc call in dynamic mode Get an error: PostgrestException(message: The schema must be one of the following: public, storage, graphql, realtime, code: PGRST106, details: Not Acceptable, hint: null) I/flutter (11846): #0 PostgrestBuilder._parseResponse (package:postgrest/src/postgrest_builder.dart:283:7) I/flutter (11846): #1 PostgrestBuilder._execute (package:postgrest/src/postgrest_builder.dart:164:14) I/flutter (11846):
I/flutter (11846): #2 PostgrestBuilder.then (package:postgrest/src/postgrest_builder.dart:372:24)
I/flutter (11846):
To Reproduce