News for hackers. Stuff that matters.
Re:Postgraphql: A GraphQL schema created by reflection over ... by bluejekyll on Wednesday April 27, 2016 @11:57PM (#11586491)
I know this is simple, but when you need to publish multiple versions of an API on a db, I don't see this as useful. It will only get in the way down the road of defining a strong API.

What you end up with in something like this is the data model is the API. Why not just expose SQL directly at that point? (Rhetorical question)

Re:Postgraphql: A GraphQL schema created by reflection over ... by yeukhon on Thursday April 28, 2016 @01:20AM (#11586693)
The psql client returns a format web client cannot consume. The translation to JSON for example is really important. The reverse (speak SQL) is also quite true. That being said, my observation (and my own project too is guilty of this) is that a lot of ORM users simply map their model almost 1-1 in the API response. An example would be returning a Book the json basically contains every column as keys.