Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's alright isn't it to get something done fast, until this huge amount of code that you will never understand bites you in the ass.

I'm secretly rewriting an API written in Prisma 1 into something lower level that actually allows me to write database queries, optimise what is going on, look into the simple underlying abstractions if things go wrong and essentially produce something I can reason about without just hoping nothing goes wrong under the hood.

Apollo codegen is what you want if you'd like your Typescript frontend to be consuming the API in a typesafe way.



You might want to have a look at Postgraphile. It is nice




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

Search: