News for hackers. Stuff that matters.
Re:GraphQL Working Draft by voyou on Thursday July 02, 2015 @09:37AM (#9818727)
I wonder how important readability is in this case, though. How likely is it that this language will be written (or read) directly by people, rather than generated and consumed by programs? The potential bugs in generators and parsers (think SQL injection) seem like a real cost, which I would have thought would outweigh the benefit of improved readability.
Re:GraphQL Working Draft by leebyron on Thursday July 02, 2015 @12:20PM (#9819893)
GraphQL is definitely designed to be written by developers, not by tools. We have a feature called query variables that provides the same strong typing to input values for queries that need to fetch different data dynamically.