Tag: graphql

Switch GraphQL to REST With Sofa

Switching from GraphQL to REST? Take a load off with Sofa


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 up migration to or support of REST in your API and provide your users with different API types.

Godwin Ekuma
Sep 11, 2020 ⋅ 7 min read
The GraphQL logo.

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
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


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


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


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


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


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


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


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


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


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


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