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

Articles

GraphQL directives are underrated

In this article, which is part of a series about different aspects of GraphQL implementations, Leonardo delves into an often overlooked feature: GraphQL specification–directives. Leonardo argues why directives are among the most powerful features in GraphQL, showing how they can enhance and empower our APIs, and explaining why servers with good support for custom directives will lead the way into the future of GraphQL.

How and why GraphQL will influence the SourceHut alpha

In this opinion piece, Drew, author of the open-source software development platform SourceHut, offers a glimpse into the role of GraphQL in SourceHut's development and architecture. Drew details the opportunity represented by migrating from Python backends that communicate directly with PostgreSQL to backends that communicate with a GraphQL API that serves as a single source of truth. He reasons this incremental change as one that could substantially increase his confidence in the system while improving performance and reliability.

Libraries and Tools

Making GraphQL Magic with Sqlmancer ??✨

Announcing the beta release of Sqlmancer – a Node.js library that allows you to translate GraphQL queries into SQL statements. Sqlmancer joins the growing ecosystem of GraphQL-to-SQL tools and supports PostgreSQL, MySQL, MariaDB, and SQLite. Sqlmancer leverages GraphQL directives to map the GraphQL schema to database tables and follows the schema-first approach to GraphQL. Under the hood, it uses the SQL query builder Knex.js and works by generating models from your GraphQL types.

Announcing Hasura Remote Joins: A GraphQL API to join across your database and other data-sources

Hasura, a popular GraphQL-to-SQL tool, introduces Remote Joins - a feature that enables fetching data from multiple remote sources in addition to PostgreSQL. As projects with multiple databases and 3rd party APIs become increasingly normal, teams must contend with fragmented data and no single "source of truth". Application developers have a hard time getting access to precise slices of data and a lot of dev cycles are spent in bringing all that data together securely. Follow along to learn how to get started with common use-cases.

Tutorials

Complete Introduction to Fullstack, Type-Safe GraphQL (feat. Next.js, Nexus, Prisma)

A complete introduction to the building a full-stack, type-safe GraphQL server with a modern tech stack consisting of Next.js, Nexus, PostgreSQL, and Prisma. With the GA release of Prisma, this modern stack represents a powerful offering for those looking to build GraphQL with relational databases. Follow along to learn how these tools integrate to help you build full-stack applications.

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 Stellate, and the awesome GraphQL community.