Skip to content

Access to Rest Client or ClientError #29

@FriMeDev

Description

@FriMeDev

Feature request

Related Problem

The postgrest Client provides some valuable functions like ChangeSchema that cannot be called directly due to Client.rest being private. We cannot write custom wrappers.

Using the RPC Wrapper does not provide any accessible error information. All occurring errors are set to ClientError on the postgrest client, which can not be accessed (see above).

Preferred Solution

Just make the Postgrest Client in the supabase client (Client.rest) public. Or is there any reason not to?

Alternative

Provide wrappers for all major methods in the postgres client and grant access to the client errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions