A weekly newsletter of the best news, articles and projects about GraphQL

Articles

Monitoring GraphQL APIs with OpenTelemetry

If you are running a GraphQL API in production, you’ll need to monitor it. OpenTelemetry is an OSS, vendor-agnostic set of tools that allows you to do just that.

Learn GraphQL In One Week

We’ve already featured “Learn GraphQL In One Week” in issue 279, but now that all episodes are out, we wanted to bring it up again. So, if you’re interested in learning GraphQL, give this free course a try and build a full-stack eCommerce application with GraphQL Yoga, Prisma, and Planetscale.

Make WPGraphQL 56% faster with the new GraphCDN integration

GraphCDN recently released their Wordpress plugin that makes setting up GraphCDN with WPGraphQL a breeze. No need to worry about invalidation, the plugin takes care of all of that for you, and you can enjoy a speed increase on your API.

The supergraph: a new way to think about GraphQL

Apollo released a new version of their Apollo Router, their high-performance federation engine. In this article, Matt covers what changed and how the new engine enables a new architecture that solves the needs of the largest GraphQL users.

Articles

GraphQL is a Trap?

A couple of days ago, a Twitter thread claimed that GraphQL was a trap. Marc-André took the time to take a closer look and clear up some misconceptions.

The Heroes of GraphQL

Tim takes a look at the history and, more importantly, the people who helped make GraphQL the powerful technology it is today. Then, it'll take you on a journey from its beginnings at Facebook to Sangria, the GraphQL Foundation, and everybody working on the various projects today.

Adding GraphQL to your Django App

Look at Patrick's article if you're working on a Python application and thinking about adding GraphQL to your stack. It'll walk you through various options and helps you decide which tooling to use and how to implement and expose your new GraphQL endpoint.

Articles

GraphQL Sessions: Powering Farfetch.com

Learn how Farfetch.com adopted GraphQL and how they are using it to help build rich and unique experiences for their users.

Mission Possible: Performant GraphQL APIs made easy in Elixir

If you are working with Elixir and GraphQL, Eric has a great article on how to implement and maintain your GraphQL API, which problems you are likely to run into and how to solve them.

Intercepting GraphQL Requests with Cypress

Cypress offers fantastic tooling for building end-to-end tests with Javascript. And the “cy.intercept()” function allows you to intercept network requests. David explores how to use this to mock your GraphQL APIs in testing.

Articles

Introducing GraphQL Joins for federating data across GraphQL services

The Hasura team is excited to announce the release of Hasura v2.6.0, which includes their new GraphQL Joins feature. Joins allow developers to federate their queries and mutations across multiple GraphQL services without modifying the underlying services or writing additional code.

Learning GraphQL Roadmap: 8 Steps to Master GraphQL

GraphQL sees adoption like crazy, and we obviously 😍 this. But the learning curve is steep, and there are a lot of misconceptions out there. So if you’re just getting started (or want to touch upon your knowledge), the Escape team provides you with a list of steps and resources you can go through to step up your GraphQL game.

Why You Should Not Pass Input Parameters Using DGS Custom Context

The Fiverr engineering team encountered a lot of exciting scenarios in their journey to using GraphQL. In this article, they share details on using DGS custom context, which will be helpful for developers who are getting started with GraphQL, Netflix’s DGS, and Kotlin.

Articles

Create real-time applications via serverless webSockets with new AWS AppSync GraphQL subscriptions filtering capabilities

With AWS AppSync, you can create serverless GraphQL APIs that simplify application development by providing a single endpoint to securely query or update data from multiple data sources and leverage GraphQL subscriptions to implement engaging real-time application experiences by automatically publishing data updates to subscribed API clients via serverless WebSockets connections.

API Design Best Practices for long-running operations: GraphQL vs REST

Jens looks at using GraphQL for long-running requests, how it compares to a REST-based API, and the pros and cons of each approach.

Articles

Everything You Wanted to Know About GraphQL (But Were Afraid to Ask)

If you are just getting started with GraphQL and have many questions, this article will give you some answers and help you better understand what GraphQL is and how to best use it.

GraphQL Error Handling: a Security POV

Error messages in GraphQL APIs are seldom seen as a security concern. However, they can disclose critical information about the internals of your service or even private data like keys.

How Netflix Content Engineering makes a federated graph searchable

The Netflix Engineering team shared their experience transitioning to a federated GraphQL platform, what it enabled their teams to achieve and how they made the graph searchable.

Articles

Exploring the future potential of generic GraphQL error codes

Leonardo explores the possibilities of standardized error codes. He provides an overview of where they have already been discussed, the benefits of adding them to the spec, and a potential design and implementation.

What we learned about cache hit rates from caching thousands of GraphQL APIs

Max looks at what the GraphCDN team has learned about cache hit rates over the last couple of months and how your use case might affect it.

GraphQL Fastify vs Apollo Server — Learnings from the real world

Rui dives into issues they were facing with their production GraphQL deployment and how they overcame them. In the process, he’ll also compare Apollo GraphQL to GraphQL Fastify Server

Articles

Building a type-safe Fullstack Application with GraphQL codegen

If you are not (yet) familiar with GraphQL codegen, this article by Achraf from escape provides you with a good overview of what it’s all about and how you can benefit from it in your next project.

GraphQL Subscriptions with JavaScript and Apollo Server

If you want to learn more about GraphQL Subscriptions and how to use them within Apollo Server, read the following article that guides you through all the required steps.

Articles

GraphQL: Lessons Learned

Dhruv from Treebo shares lessons learned from their GraphQL experience so far. Whether you’re just getting started or are already a seasoned GraphQL user, I’m sure you have some excellent takeaways.

Testing your GraphQL Endpoints

If you’ve wondered how to best test your GraphQL endpoints, read this blog post from the team at Escape.

GraphQL Error Handling to the Max with Typescript, codegen and fp-ts

Improve your GraphQL APIs' error handling using union types and interfaces. And handle them safely on the client-side. And you can take it a step further using functional programming.

GraphQL Queries for Implementing a Custom Shopify Storefront

If you’re looking to develop a custom Shopify store, make sure to read Markus's guide on how to implement this using their GraphQL API and Next.js

Articles

GraphQL and Design Clarity

Dave explores how keeping your GraphQL schema in mind will help when designing and implementing your next feature and how this can help coordinate between various teams working on your application.

Combining Multiple GraphQL Backends with Schema Stitching

Peter shows how Splitgraph uses GraphQL Schema Stitching to provide a single, coherent schema for all of your backend services. He explores how this can make it easier to add new backend services and extend the types and fields offered by others.

Super fast WPGraphQL at Scale with GraphQL Edge Caching at Patronage

Patronage shares their story on how they build 30 to 40 websites per year based on WordPress, WPGraphQL, and Next.js. And how adding GraphQL edge caching to their stack helped reduce traffic to their backend service by 99%.

9 GraphQL Security Best Practices

GraphQL has seen widespread adoption, from the largest corporations to small startups. Achraf shares 9 tips on how to secure your GraphQL APIs.

Articles

Why Do We Need GraphQL

If you are just getting started with GraphQL and want to know why it's useful and how it can help speed up your apps, read Justin's article on precisely that topic. If you're working with C#, you'll even get a starting point for your APIs.

GraphQL API With Java Spring Boot

If you’re a Java user and want to get started with GraphQL, take a look at Ashutoshs article that explains all the required steps in detail and helps you get up and running quickly.

Running A Scalable & Reliable GraphQL Endpoint With Serverless

Running your GraphQL services on serverless infrastructure is a pretty standard use case. In this series of articles, Siddharth explores implementing an easily scalable and resilient service using the Serverless framework.

Articles

How to Use Mocks in Your GraphQL Development Workflow

We've shared articles about mocks with GraphQL in the past. This time, Lucia Cerchie guides us through implementing this with StepZen's @mock directive.

Using WordPress as a Headless CMS With React as the Frontend

Headless CMS are pretty popular right now. This article explains the steps necessary to use WordPress and the WPGraphQL plugin as a headless CMS for your Next.js project.

How to Build a GraphQL server with NodeJS and Express

Being able to work with APIs and write queries is crucial to any developer’s skill set. In this article, you’ll set up your own GraphQL server with Node.JS and write a few queries to gain insight into how GraphQL works.

Articles

Creating a GraphQL API with NextJS

If you’re just getting started with GraphQL and are already using NextJS in your project, take a look at this guide that takes you through all the required steps and explains the concepts along the way.

Announcing Hasuras $100M Series C funding

Hasura just announced their Series C for USD 100 million, allowing them to continue building and investing in both their Open Source project and their managed cloud service. We’re excited for what comes next from their fantastic team.

Netlify Graph: A faster way for teams to develop web apps with APIs

Netlify recently announced its Graph service as a public beta. It’s a way to easily integrate with APIs like Stripe, GitHub, or Salesforce via GraphQL via a single graph powered by Netlify. It also offers tools to model queries and generate necessary serverless function code. As the beta progresses, they expect more APIs to become available.

Articles

How not to learn GraphQL

Whether you’re new to GraphQL or already a seasoned user, taking a look at how to learn a new technology is always a fascinating subject. Charly Poly takes us on a journey about common misconceptions around getting started with GraphQL.

Caching REST APIs vs. GraphQL APIs

So, you’re wondering how caching a GraphQL API works, how it is different from caching a REST endpoint, and what to look out for when implementing caching? GraphCDN has you covered with a great introduction to this topic.

Creating a GraphQl backend in C# — How to get started with Hot Chocolate 12 in .Net 6

Are you using C# and want to get started with GraphQL? Wait no longer, but let Tim's article guide you from start to a fully working GraphQL server based on Hot Chocolate. It's a great way to dive into this subject.

Articles

Supercharging Development at Salsify with GraphQL

Erik shares insights from Salsify’s use of GraphQL, what conventions and rules they have in place, how they deal with breaking schema changes, and how this helped create a better developer experience for their teams.

Creating a GraphQL Server With Node.js

If you are new to GraphQL and are just getting started, make sure to read Derek's article on how to create a simple GraphQL Server with Node.js.

Pagination In Lighthouse GraphQL

Are you using PHP and Lighthouse for your GraphQL API? Do you want to add pagination? Tanmaya’s article can help get that done quicker.

Articles

Supercharging Development at Salsify with GraphQL

Erik shares insights from Salsify’s use of GraphQL, what conventions and rules they have in place, how they deal with breaking schema changes, and how this helped create a better developer experience for their teams.

Creating a GraphQL Server With Node.js

If you are new to GraphQL and are just getting started, make sure to read Derek's article on how to create a simple GraphQL Server with Node.js.

Pagination In Lighthouse GraphQL

Are you using PHP and Lighthouse for your GraphQL API? Do you want to add pagination? Tanmaya’s article can help get that done quicker.

Feeling nerdy? Query issues of GraphQL Weekly, with GraphQL itself!
Powered by the GraphQL Playground
Enter a query
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
  allIssues {
    id
    title
    published
    number
    date
    author {
      avatarUrl
      description
      name
    }
  }
}
or press CMD + Enter
Result
Curated by GraphCDN, and the awesome GraphQL community.