Skip to content

Conversation

@Olshansk
Copy link
Contributor

@Olshansk Olshansk commented Oct 2, 2025


Is this even necessary given that postgrest has compatible SDKs?

https://github.com/supabase-community/postgrest-go

https://docs.postgrest.org/en/v13/ecosystem.html#client-side-libraries

Screenshot 2025-10-01 at 8 09 32 PM

Pascal van Leeuwen and others added 30 commits September 16, 2025 19:32
@commoddity
Copy link
Contributor

commoddity commented Oct 6, 2025

Is this even necessary given that postgrest has compatible SDKs?

@Olshansk Given our preference for using fully typed code in our Go codebase - and especially avoiding usage of interface{}/any as much as possible - I think the autogenerated Go client SDK provides a far superior API vs the https://github.com/supabase-community/postgrest-go client.

The supabase-community client also doesn't seem to be actively maintained (last release was May 29, 2024).

You can see an example of how the autogen Go client SDK is used here:
https://github.com/buildwithgrove/path-external-auth-server/blob/postgrest-data-source/postgrest/driver.go#L111

As you can see, the client SDK provides a lot more type-safe code with concrete structs, query construction, etc.

So given all of the above IMO we should keep the autogen Go (and Typescript) SDK client.

@commoddity commoddity self-assigned this Oct 6, 2025
@commoddity commoddity changed the base branch from postgrest to main October 6, 2025 11:58
@commoddity
Copy link
Contributor

Closing this in favour of separate PRs to add the Go & Typescript SDKs in that order.

@commoddity commoddity closed this Oct 7, 2025
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.

4 participants