From 62b07a08cfea74a9df11c393a93e2b7fe78a169e Mon Sep 17 00:00:00 2001 From: Marcel Overdijk Date: Mon, 7 Feb 2022 12:57:28 +0100 Subject: [PATCH] chore(docs): Added required `type` attribute to resolver (#34716) --- docs/docs/reference/graphql-data-layer/schema-customization.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/docs/reference/graphql-data-layer/schema-customization.md b/docs/docs/reference/graphql-data-layer/schema-customization.md index c723dce72e8d0..c930f9f5dbe1b 100644 --- a/docs/docs/reference/graphql-data-layer/schema-customization.md +++ b/docs/docs/reference/graphql-data-layer/schema-customization.md @@ -727,6 +727,7 @@ exports.createResolvers = ({ createResolvers }) => { const resolvers = { Frontmatter: { author: { + type: "AuthorJson", resolve(source, args, context, info) { return context.nodeModel.getNodeById({ id: source.author,