Skip to content

Commit

Permalink
chore(docs): Added required type attribute to resolver (#34716)
Browse files Browse the repository at this point in the history
  • Loading branch information
marceloverdijk authored Feb 7, 2022
1 parent 0c04ce0 commit 62b07a0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 62b07a0

Please sign in to comment.