News for hackers. Stuff that matters.
Re:The GitHub GraphQL API by brblck on Wednesday September 14, 2016 @03:59PM (#12500720)
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.
Re:The GitHub GraphQL API by arianvanp on Wednesday September 14, 2016 @04:06PM (#12500778)
Exactly, now you put the onus to solve N+1 on the serverside, instead of in the old case the client would do N+1 requests...