brblck

Joined 10 years ago

Karma
44
Submissions
6
Member since
Sep 14
[ my public key: https://keybase.io/brandonblack; my proof: https://keybase.io/brandonblack/sigs/_60cbTwI-2CVveh0cAFwWx6E2dVvkplON7inAOhRVrY ]
View on Hacker News

Recent submissions

Comment · 9 years ago
Needs more black.
Comment · 10 years ago
Yup. That's something we can handle internally, under the hood to batch database requests into a single query for all edges. This problem is actually easier to solve in GraphQL then it is with a traditional REST API.
Comment · 10 years ago
I theory a GraphQL API can operate verison-less utilizing things like deprecation notices and field aliasing to smooth over any rough edges. Once we see calls on a certain thing reach zero and sustain that level, we can actually remove it and never have to bump a version anywhere.

That's the dream. We'll see how reality plays out.

For reference, we actually launched with some deprecated fields (see "databaseId" on the "Issue" type -- database IDs will be phased out for global relay IDs eventually) if you want to see what they look like.

Comment · 10 years ago
One really great feature of GraphQL (which GitHub doesn't support yet in this alpha, but we plan to) is the ability to store queries for execution later. This lets us optimize and plan for the data and volume of requests being generated from a given query. Other soon-to-be-added features like subscriptions where we only return the data you need when it changes help a lot on this front as well.
Comment · 10 years ago
Comment · 10 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton