From 788125affcb923db1ff7d0a67b10b49ed5d57acd Mon Sep 17 00:00:00 2001 From: Iddan Aaronsohn Date: Wed, 23 Jun 2021 00:47:58 +0300 Subject: [PATCH] Fix syntax of example in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d0c816ded..8aeef3430 100644 --- a/README.md +++ b/README.md @@ -838,7 +838,7 @@ Nexus Prisma generates default GraphQL resolvers for your model _relation fields t.field(User.id.name, User.id) t.field(User.posts.name, { ...User.posts, - asyncresolve(...args) { + async resolve(...args) { // Your custom logic here }, })