News for hackers. Stuff that matters.
Re:Ask HN: Projections as an Alternative to HTTP APIs by sitkack on Wednesday August 03, 2022 @06:16PM (#32337210)
If you can guarantee that you get the same result for the same projection (a query and or rest call also could be characterized as a projection) then I don't see an issue.

LOTS of rest services are just urls params -> sql -> result set -> json

https://postgrest.org/en/stable/

Isn't this what graphql was supposed to offer?

Re:Ask HN: Projections as an Alternative to HTTP APIs by hiptobecubic on Thursday August 04, 2022 @05:14PM (#32348367)
that's what i'm missing here... it sounds like OP is just saying "What if instead of graphql we used some other thing that did exactly what graphql does?"