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

Non existing method #12

Open
denisrudov opened this issue May 22, 2024 · 5 comments
Open

Non existing method #12

denisrudov opened this issue May 22, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@denisrudov
Copy link

Bug report

Non existing method

Method doesn't exist. connection to supabase is impossible
image

in version v0.0.1 all is fine

To Reproduce

install version v0.02 and try to connect

Screenshots

image
@denisrudov denisrudov added the bug Something isn't working label May 22, 2024
@ZanzyTHEbar
Copy link

Yup, same here. Seems that the proper method is TokenAuth not SetAuthToken

@ZanzyTHEbar
Copy link

Strangely enough, when i use the proper method (as found in the postgres-go client.go file) i get:
image
Which is a bit confusing ...

@ZanzyTHEbar
Copy link

ZanzyTHEbar commented May 23, 2024

I "fixed" the issue my manually cloning supabase-community/postgrest-go into my go package cache.

I have opened an issue in the postgres-go repo: supabase-community/postgrest-go#50

@muratmirgun
Copy link
Member

Hello, I will check it. I will write updates here!

@tranhoangvuit
Copy link
Contributor

Hi @denisrudov, @ZanzyTHEbar sorry for the missing information. We separated TokenAuth into SetApiKey and SetAuthToken for better readability in the new postgers-go tag v0.0.11
Can you use latest version(v0.0.4) with new function?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants