Viewing profile — dschafer
dschafer
HN member- Joined
- Thu, Jul 02, 2015, 2:13 PM UTC
- HN karma
- 230
- Public activity
- 15 items
- HN profile
- View on Hacker News ↗
About dschafer
Recent public activity
-
story
Show HN: A fast command-line tool for solving Queens puzzles
I've been hooked on Queens puzzles ( https://www.linkedin.com/games/queens/ ) for the last few months, and decided to try and build a solver for them. Rather than doing a tradition…
- story
-
comment
Comment #14748272
We've been using GraphQL at Facebook in production for almost five years now, and it powers a huge amount of our iOS/Android app's API traffic. We also did a comprehensive revisit …
- story
- story
- story
-
comment
Comment #10221882
Yeah, introducing a new field and deprecating the old one seems like the best option here. The nice thing is that while this introduces new functionality, there's still only one ve…
-
comment
Comment #10221816
FB's GraphQL APIs are only used by our first-party applications; for third-party APIs (where you don't control the callers), it definitely gets trickier for the reasons you note. O…
-
comment
Comment #10218225
When building out a GraphQL schema, the schema developer chooses which functionality to expose to the client. So rather than having the client do operations or predicates directly,…
-
comment
Comment #10218209
The GraphQL API acts as a layer atop application code; it assumes that the application code takes care of any access controls (since those access controls would apply to anyone que…
-
comment
Comment #10218202
GraphQL queries are hierarchical so that the response mirrors the structure of the query. We found that there were needs of the query (query parameters and directives, for example)…
-
comment
Comment #10218180
Yep, GraphQL is agnostic as to how your data is stored. For example, https://github.com/graphql/swapi-graphql/ is a GraphQL schema that is backed by the swapi.co API. The examples …
- story
-
comment
Comment #9821501
It's passed to that function in the reference implementation, but a server would probably create a helper function that runs a query for a particular schema. For example, you can j…
-
comment
Comment #9819000
GraphQL doesn't prescribe a particular approach to mutations; it allows the server developer to specify what mutations are available. For example, at Facebook we have a storyCreate…