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

X-Client-Info header #16

Closed
awalias opened this issue Aug 23, 2021 · 2 comments · Fixed by #19
Closed

X-Client-Info header #16

awalias opened this issue Aug 23, 2021 · 2 comments · Fixed by #19
Assignees
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@awalias
Copy link

awalias commented Aug 23, 2021

we're rolling out a header similar to Stripe's App-Data in all of the client libs so issues can be debugged more easily between the client and the backend

the javascript libs are done already: supabase/supabase-js#238

the format is: X-Client-Info: supabase-js/1.11.0

for client libs that wrap others (like how supabase-js wraps gotrue-js) we allow the wrapper lib to overwrite the wrapped lib's header (given that we can infer the gotrue-js version based on which supabase-js was used to make the call)

any help with rolling this out here would be incredible

@awalias awalias added good first issue Good for newcomers help wanted Extra attention is needed labels Aug 23, 2021
@bariqhibat
Copy link
Contributor

Hey @awalias, has this been resolved? If not, can I work on this?

@awalias
Copy link
Author

awalias commented Oct 4, 2021

I think it has not yet been resolved 👍

ideal string would be:

X-Client-Info: postgrest-go/

thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants