GraphQL is becoming more and more popular every day. Now that we have a beta release of the GraphQL module (mainly sponsored and developed by Amazee Labs) it's easy to turn Drupal into a first-class GraphQL server. This is the new GraphQL series in which we'll describe the features that are new in beta and provide a detailed overview of the integration with Drupal's entity and field systems.
Get our Newsletter
In the last three blog posts, you learned about the current palette of features of the GraphQL module and how you can further extend and adapt it according to your needs. In this blog post, we want to shed some light on our future plans for the of the module and show you where we are headed and how you can get involved.
After successfully creating a field with arguments and context, we are going to have a look at types and interfaces in GraphQL and how they help to build complex, yet self-documenting and type safe schemas.
The last blog post might have left you wondering: "Plugins? It already does everything!". Or you are like one of the busy contributors and already identified a missing feature and can't wait to take the matter into your own hands (good choice).
In this and the following posts we will walk you through the extension capabilities of the GraphQL Core module and use some simple examples to show you how to solve common use cases.
In the last post in this series, we learned how to implement a simple Blog listing with Drupal, GraphQL, Apollo and React. Now it’s time to take a deep breath and dive into the full list of features built into the GraphQL module to spark your imagination with its endless capabilities.
Building an app that displays a list of articles in Drupal in the traditional way is a straightforward task - meaning that we use Drupal for everything: backend configuration and data storage as well as frontend (usually twig in Drupal 8).
However, doing the same thing in a decoupled configuration, where we use for example Drupal for backend and data storage, and React as frontend, is not that easy.
To help you with this, this blog post aims to show how you can successfully build that.
Amazee Labs is heavily invested in exploring and adopting new techniques and technologies. For nearly two years we’ve been openly exploring Decoupled Drupal. Among the things that we’ve researched during this time, React and GraphQL certainly stand out as two of the sharpest new tools in our ever growing toolbox. Based on these, we’ve since established a full application architecture and infrastructure.
In the upcoming weeks leading up to DrupalCon Vienna, we want to share our experiences and learnings in a series of blog posts.