News for hackers. Stuff that matters.
Re:Show HN: REST Alternative to GraphQL and tRPC by anttiviljami on Tuesday October 10, 2023 @02:57PM (#37835999)
You don’t actually want that.

Code should not inform design.

Design informs code.

Re:Show HN: REST Alternative to GraphQL and tRPC by gadflyinyoureye on Tuesday October 10, 2023 @03:27PM (#37836357)
Use the code to do the design. Don’t implement the damn thing. Just work in a nicer medium like Typescript. Add attributes. Remove attributes. Move things around in the refactoring tool. Then generate the doc. Forget about the whole “this is what the database does” stuff.