Stop Fighting the Type System

How can I either change the format of the errors returned or else turn them off completely? This is the question I recently encountered from a newcomer to GraphQL – a strange question to say the least. He started with some background. In the pre-GraphQL version of his app/API, when errors occurred, the app would … [Read more…]

Interview with Robert Mosolgo – Creator of graphql-ruby

Recently, I got the opportunity to sit down with Robert Mosolgo and interview him. For those of you that don’t know, Robert is the creator of the graphql-ruby gem, and he also works at GitHub on the team that works on their GraphQL API (among several other things). This is something I’ve been looking forward … [Read more…]

Benefits of GraphQL on the Backend

There’s a lot of information out there discussing what the benefits of GraphQL are, but many of them focus on the front-end more than anything. This is why it’s so easy to convince front-end developers to use GraphQL – after all, it was built to ease a lot of the struggles they had. But what … [Read more…]

N+1 Queries No More

GraphQL makes a lot of the problems of REST much easier to solve. However, one of the things that actually becomes┬áharder to solve is N+1 queries. Today we’re going to be talking about precisely how to resolve N+1 queries in rails and GraphQL. We will dive into the nitty-gritty details of how the concept of … [Read more…]

GraphQL Playground Review

These opinions are based on my experience with certain features of GraphQL Playground running v1.0.2-rc.1 and v1.1.1. Please keep that in mind as you read, since a new release could completely nullify anything I say here. Most people who have used GraphQL for any amount of time would agree that the king of GraphQL tooling … [Read more…]