News for hackers. Stuff that matters.
Re:GraphQL Working Draft by colinramsay on Thursday July 02, 2015 @07:56AM (#9818253)
There are certain things that are a bit more elegant if you can have a custom query language. One example:

        query UseFragment {
          luke: human(id: "1000") {
            ...HumanFragment
          }
          leia: human(id: "1003") {
            ...HumanFragment
          }
        }
        fragment HumanFragment on Human {
          name
          homePlanet
        }
You could definitely have some JSON to represent this but it might turn out to be more trouble than it's worth...
Re:GraphQL Working Draft by agrothberg on Tuesday July 07, 2015 @07:11PM (#9848757)
What about YAML?