Tag: graphql

MiniQL: Building a Query Language in TypeScript

MiniQL: Building a query language in TypeScript

Dev

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

Ashley Davis
Sep 16, 2020 ⋅ 13 min read
Switch GraphQL to REST With Sofa

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

Dev

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

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