-
Notifications
You must be signed in to change notification settings - Fork 499
feat(postgrest): expose query builder options to .from method #1570
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
base: master
Are you sure you want to change the base?
feat(postgrest): expose query builder options to .from method #1570
Conversation
|
Hi @stenlan ! Thank you very much for your contribution. Can you please import your changes from this PR here, and make the changes needed in the new monorepo? I will be archiving the old repos soon. You will still be able to view the PR content, don't worry. I understand that this may be frustrating, but thank you very much for your time and contribution! |
14bc550 to
59a5899
Compare
|
Thank you @mandarini for the response. I have integrated the changes into the new monorepo structure to the best of my ability, but because of time constraints I have not yet been able to successfully set up the monorepo locally. For some reason, in |
|
@stenlan thank you for your contribution! Nothing special is needed to set up your local environment. Did you go through our contributing guide? Just clone the repo, run |
d790192 to
23cf9f2
Compare
d7f860c to
4232c41
Compare
|
@stenlan you're right, there were some issues in our lock file. Please pull, delete all your local node_modules and dist folders, and run |
4232c41 to
925a6a2
Compare
What kind of change does this PR introduce?
Introduces a way to pass options to the PostgrestQueryBuilder instance on a per-request basis.
What is the current behavior?
There is no way to specify per-request options currently.
#438
What is the new behavior?
An optional parameter is introduced that can be passed to the
.frommethod, where users can optionally specify customfetchandheadersoptions.Additional context
This is a supporting PR for supabase/postgrest-js#648 that updates the method signature in the @supabase/supabase-js package.