Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
brunoqc
· 5y ago · 0 comments
PostgREST is great, but is there something like graphql-codegen to generate typescript code?
Comments
[–]
Dystopian
5y ago
Yep they also publish an OpenAPI spec (what tools like Swagger use for auto-docs) - you should be able to use something like:
https://www.npmjs.com/package/openapi-typescript-codegen
to create your codegen
[–]
brunoqc
OP
5y ago
Nice, thanks!