Tag: graphql

The GraphQL logo.

3 annotations to use in your GraphQL schema

Dev

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

Charly Poly
Sep 11, 2020 ⋅ 6 min read
Adding Directives To The Schema In Code-first GraphQL Servers

Adding directives to the schema in code-first GraphQL servers

Dev

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

Leonardo Losoviz
Sep 7, 2020 ⋅ 8 min read

How GraphQL Nexus can help you create better APIs

Dev

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

Leonardo Maldonado
Aug 19, 2020 ⋅ 5 min read
Complete Guide to GraphQL Playground

Complete guide to GraphQL Playground

Dev

There are so many tools that make learning and using GraphQL easier. Learn how GraphQL Playground, a GraphQL integrated developer environment (IDE), can help you improve your development workflows.

Ibrahima Ndaw
Jul 6, 2020 ⋅ 4 min read
Creating An @export GraphQL Directive

Creating an @export GraphQL directive

Dev

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

Leonardo Losoviz
Jul 1, 2020 ⋅ 11 min read
Client-side Query Customization In GraphQL

Client-side query customization in GraphQL

Dev

Client-side GraphQL query customization can come in handy when dealing with a large codebase and multiple teams.

Vilva Athiban P B
Jun 30, 2020 ⋅ 4 min read
Treating GraphQL Directives As Middleware

Treating GraphQL directives as middleware

Dev

Directives are among GraphQL’s most powerful features, but that’s only if the GraphQL server provides a good support for them.

Leonardo Losoviz
Jun 24, 2020 ⋅ 14 min read
Avoid Overfetching With Properly Designed GraphQL Resolvers

Avoid overfetching with properly designed GraphQL resolvers

Dev

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
Jun 16, 2020 ⋅ 6 min read
The GraphQL logo.

Using code-gen to avoid heuristic GraphQL queries

Dev

Learn how to avoid heuristic queries in GraphQL and get your queries to work accurately with unions in your schema.

Daniel Phiri
Jun 15, 2020 ⋅ 6 min read
What You Need to Know About GraphQL Enums

What you need to know about GraphQL enums

Dev

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

Charly Poly
Jun 12, 2020 ⋅ 6 min read
The GraphQL logo.

Creating your first CRUD with Dgraph and GraphQL

Dev

Learn how to use Dgraph with GraphQL to create a CRUD that generates scaffolding methods for each one of the queries and mutations.

Diogo Souza
Jun 11, 2020 ⋅ 5 min read

How GraphQL boosts performance in Gatsby

Dev

We’ll be looking at how Gatsby uses GraphQL to pull in data at build time and also its implications on performance.

Obinna Ekwuno
Jun 4, 2020 ⋅ 5 min read