GraphQL Nested Queries, Relationships, and Different Data Sources Practices

When building a GraphQL API with nested queries and relationships – specifically in a relational database – it’s important to follow best practices to attain efficient and performant data retrieval while preventing overly nested queries Continue reading →

DataLoader for GraphQL Implementations

A popular library used in GraphQL implementations is called DataLoader, and in many ways the name is somewhat descriptive of its purpose. As described in the JavaScript repo for the Node.js implementation for GraphQL “DataLoader is a generic utility to be used as part of your application’s data fetching layer to provide a simplified and... Continue reading →

GraphQL Error Handling

The following post is based on some of the common error handling techniques I’ve seen in use when implementing GraphQL APIs. The following examples include; Objects in the Response. Union Types. Middleware Custom Error Types Extensions Bubbling & Partial Results To elaborate, a basic definition of each of these follows with a slightly deeper dive... Continue reading →

A Hasura Quick Start with Remote Schema, Remote Joins

I’ve been building GraphQL APIs for a number of years now – of along side RESTful, gRPC, XML, and other API styles I won’t even bring up right now – and so far GraphQL APIs have been great to work with. The libraries in different languages form .NET’s Hot Chocolate, Go’s graphql-go, Apollo’s JavaScript based... Continue reading →

Terrazura – A Build Out of an Azure based, Hasura GraphQL API on Postgres

I created this repo https://github.com/Adron/terrazura​ during a live stream on my Twitch Thrashing Code Channel 🤘 at 10am on the 30th of December, 2020. The VOD is now available on my YouTube Thrashing Code Channel https://youtube.com/thrashingcode​ . A rough as hell year, but wanted to wrap it up with some solid content. In this stream... Continue reading →