Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow overriding default PostgREST route prefix #1045

Closed
wants to merge 1 commit into from

Conversation

pcnc
Copy link
Member

@pcnc pcnc commented May 15, 2024

What kind of change does this PR introduce?

  • adds the ability to specify a custom route prefix for a project's PostgREST service

Additional context

https://supabase.slack.com/archives/C01D6TWFFFW/p1715697051055689

@pcnc pcnc requested review from kamilogorek and w3b6x9 May 15, 2024 08:52
@@ -88,6 +89,7 @@ export default class SupabaseClient<
realtime: DEFAULT_REALTIME_OPTIONS,
auth: { ...DEFAULT_AUTH_OPTIONS, storageKey: defaultStorageKey },
global: DEFAULT_GLOBAL_OPTIONS,
postgrest: DEFAULT_POSTGREST_OPTIONS,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There already is a settings.db project, although that targets database access-related modifiers.
This addition simply targets how the lib interfaces with PostgREST

@pcnc pcnc requested a review from a team May 15, 2024 09:18
@pcnc pcnc closed this May 15, 2024
@kamilogorek
Copy link
Member

Oh, why is it gone? 👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants