In this tutorial, we will create a custom resolver in Dgraph Lambda. Using the @lambda directive in our GraphQL schema, we will perform a dynamic calculation that can be returned through a field in a GraphQL query.
Using Dgraph Cloud we will:
Create a simple GraphQL schema
Define a custom resolver in Dgraph Lambda
Add and retrieve data with GraphQL which uses our Dgraph Lambda