Building GraphQL Responses Using RESTful Endpoints With Dgraph Lambda

Опубликовано: 17 Февраль 2026
на канале: Hypermode
998
17

In this tutorial, we will cover how to bring data from an external RESTful endpoint into a query response using Dgraph Lambda. This is great when you have existing or 3rd party RESTful services that contain data that you need in your GraphQL response but don't want to persist in the database.

We will:
Create a GraphQL Schema with an @lambda directive
Implement a custom GraphQL resolver in Dgraph Lambda
Add some data with a GraphQL mutation
Query for data, including dynamic data which will be returned from a 3rd party RESTful service