supabase-community / postgrest-go

Isomorphic Go client for PostgREST. (Now Updating)
https://supabase.io
Apache License 2.0
170 stars 27 forks source link

Generate Types Automatically #54

Open abdulrabbani00 opened 1 month ago

abdulrabbani00 commented 1 month ago

Feature request

When using the supabase TS client, it automatically generates types based on the DB Schema. It would be amazing if we could do the same thing using Golang. I understand this would be tricky considering TS type system and go's type system. Just wanted to ask nonetheless.

Is your feature request related to a problem? Please describe.

No, just a request similar to what exists for TS.

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

assembly-winston commented 4 weeks ago

External ORMs do this: for example, SQLC.