Hacker News new | past | comments | ask | show | jobs | submit login

PostgREST is great, but is there something like graphql-codegen to generate typescript code?



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


Nice, thanks!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: