graphql

MiniQL: Building a query language in TypeScript

Is it ever OK to reinvent the wheel? We consider MiniQL, a tiny, GraphQL-inspired query language, in pursuit of the answer.
Ashley Davis
13 min read

Switching from GraphQL to REST? Take a load off…

Sofa takes advantage of GraphQL’s standardized schemas and resolvers to map certain API concepts back to REST. It is designed to help you speed...
Godwin Ekuma
7 min read

3 annotations to use in your GraphQL schema

Find out why annotations (or directives) in GraphQL can be key when writing your own modern GraphQL API in this tutorial.
Charly Poly
6 min read

Adding directives to the schema in code-first GraphQL servers

See how code-first GraphQL servers — which have no schema definition language — can manage to provide support for schema-type directives.
Leonardo Losoviz
8 min read

How GraphQL Nexus can help you create better APIs

We are going to learn about how we can use GraphQL Nexus to create better, type-safe, and declarative GraphQL APIs.
Leonardo Maldonado
5 min read

Complete guide to GraphQL Playground

There are so many tools that make learning and using GraphQL easier. Learn how GraphQL Playground, a GraphQL integrated developer environment (IDE), can help...
Ibrahima Ndaw
4 min read

Creating an @export GraphQL directive

Until GraphQL adds an official @export directive to the spec, implementers need to code this functionality through a custom directive.
Leonardo Losoviz
11 min read

Client-side query customization in GraphQL

Client-side GraphQL query customization can come in handy when dealing with a large codebase and multiple teams.
Vilva Athiban P B
4 min read

Treating GraphQL directives as middleware

Directives are among GraphQL's most powerful features, but that's only if the GraphQL server provides a good support for them.
Leonardo Losoviz
14 min read

Avoid overfetching with properly designed GraphQL resolvers

GraphQL's biggest advantage over REST is that it solves the issue of overfetching data — so long as you have properly designed resolvers.
Karthik Kalyanaraman
6 min read

Using code-gen to avoid heuristic GraphQL queries

Learn how to avoid heuristic queries in GraphQL and get your queries to work accurately with unions in your schema.
Daniel Phiri
6 min read

What you need to know about GraphQL enums

Learn how GraphQL enums can help you build more robust and discoverable APIs, create simple interfaces, maintain slim resolvers, and more.
Charly Poly
6 min read