Implement custom JS resolvers in GraphQL

An easy way to go about that, for now, would be to use lambdas as wrappers around CRUD operations, and protect the CRUD with @auth so that only lambda can make those calls.

This was exactly what I’m looking for but the docs for your lambdas are kind of confusing. It’d be amazing if someone could make a video tutorial of just making a couple really simple lambdas in Dgraph Slash. :smiley:

(Sidenote: the “Lambda Directive” link 404s https://dgraph.io/docs/graphql/directives/ )

Thanks for the notice, @corysimmons. The link for "Lambda Directive’ has been fixed now, going to https://dgraph.io/docs/graphql/lambda/overview.

Videos for lambda are a great idea. Be on the lookout for some in the Dgraph YouTube channel :slight_smile: .

1 Like