Log in to GraphQL Editor
3 ways of strengthening your GraphQL API
Tomek

Tomek Poniatowicz

10/17/2019

3 ways of strengthening your GraphQL API

Some time ago I have read that:

GraphQL is really about collaboration, and the teams that get furthest are those who work closely together on their GraphQL API.

This idea is very true but collaboration becomes a very tricky part of any development project where there are multiple teams involved. So a question arises, is there any way to make collaboration on a GraphQL API easier & more pleasant experience? I think that it's possible!

Let me introduce you three ways of strengthening your GraphQL API which might save your teams from jumping at each other's throats.

#1 Install GraphQL Code Inspector

GraphQL Inspector is a CLI tool from The Guild member Kamil Kisiela, that detects changes, similar or duplicated types, validates documents against a schema and looks for deprecated usage, everything as simple as this:

$ graphql-inspector diff OLD_SCHEMA NEW_SCHEMA

There is also a programmatic API available in case you want to build something on top of it on your own.

GraphQL Inspector CLI

Source: GraphQL Inspector

#2 Use GraphQL Editor

The GraphQL Editor is a tool to build, manage and collaborate on your GraphQL schema visually! It includes features that help you make sure that your GraphQL API and its clients are well-developed. The latest update introduced a couple more interesting features like:

  • Autocomplete for Queries - Create an auto-complete library for JavaScript or TypeScript with a built-in GraphQL Zeus feature.

  • Schema versioning - with a click of a button you can see & manage all changes.

  • Schema Libraries (Schema stitching done right) - built-in GraphQL libraries allow you to create new GraphQL schemas from multiple underlying GraphQL APIs.

  • Fake backend - allowing you to run a GraphQL Server with faked data available for testing with a single click.

GraphQL Editor

#3 Why not use both?

Get your GraphQL API a bulletproof vest by combining these two tools!

Fusion

Check out our other blogposts

GraphQL Tutorial - Dictionary
Tomek Poniatowicz
Tomek Poniatowicz
GraphQL Tutorial - Dictionary
4 min read
about 5 years ago
Ready-to-use PWA solutions with GraphQL support
Aleksandra Kwiecień
Aleksandra Kwiecień
Ready-to-use PWA solutions with GraphQL support
3 min read
over 4 years ago
Code Academy - How to visualize your GraphQL schema?
Tomek Poniatowicz
Tomek Poniatowicz
Code Academy - How to visualize your GraphQL schema?
3 min read
about 5 years ago

Ready for take-off?

Elevate your work with our editor that combines world-class visual graph, documentation and API console

Get Started with GraphQL Editor