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

Add ability to pass additional options to postgrest #74

Merged
merged 3 commits into from
Sep 2, 2024

Conversation

fzaninotto
Copy link
Member

@fzaninotto fzaninotto commented Sep 2, 2024

Problem

PostGREST exposes a config option that ra-supabase doesn't expose: sort order.

We could add a new parameter if it in the ra-supabase data provider constructor, but each time postgrest adds new configs, we'll need to update ra-supabase, too.

Solution

Add support for all possible postgrest config options, present and future, via a rest parameter

@djhi djhi added this to the 3.2.0 milestone Sep 2, 2024
@djhi djhi merged commit 9e1ba42 into main Sep 2, 2024
5 checks passed
@djhi djhi deleted the support-postgrest-config branch September 2, 2024 09:56
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.

2 participants