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 →

GraphQL Schema Standards, Patterns, & Practices

When planning a GraphQl Schema design, choosing appropriate type names and casing conventions is essential for creating a clear and consistent API. With no industry-wide standard, there are some common practices and recommendations that I tend to follow when setting up new schema and related project assets: 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 →