Live data from Hacker News

GraphQL: A data query language

code.facebook.com

1–10 of 84 posts

Re: GraphQL: A data query language

#4
With what DB is there implementations ? It seems for now most of the implementations are in memory. The postgres direct sql seems dead, there is only a javascript mongo mongoose one it seems.

Re: GraphQL: A data query language

#6
post #3

This looks cool but I've grown to really like Cypher. Anyone know if graphql is similarly expressive?

Cypher looks a lot like a form of SQL? At least if you are refering to this one http://neo4j.com/developer/cypher-query-language/ It seems an entirely different beast. Not like something you'd want clients to have access to in a public api?

Re: GraphQL: A data query language

#7
Why mirror the structure, but not syntactic details, of JSON (or YML) in the pretty printing?

It's true that we've passed peak colon as a culture, and need to start reimagining life in a post-colonial way, but...

Re: GraphQL: A data query language

#8

Are there still problems with GET requests not allowing very much data in the request? Will I have to send this as a POST, or is that all 200x?

Are you talking about the size limit (of about 2000 chars) on url strings? That's not a GraphQL thing, that's a limit imposed by certain browsers. If your request data might be bigger then it needs to be in a POST.

Re: GraphQL: A data query language

#9
How about optimistic over-fetching? On Facebook it's very annoying to wait earlier comments to load when they are fetched like 10 at a time, and there's 5 second latency on every request. Why not fetch everything with a single request (even when they aren't displayed in the current view)?

Re: GraphQL: A data query language

#10
I keep hearing people say things along the lines of, "Relay looks great, but I don't want to store my data in a graph". My impression is that GraphQL has nothing to do with graphs, really - it's a bit more like SchemaQL if anything. Could someone from the facebook team clarify about the name?
Post reply on HN