From 7bebdcf8ca47551ef5da08f7a54dc484d7c939f8 Mon Sep 17 00:00:00 2001 From: stefanprobst Date: Thu, 30 May 2019 19:57:29 +0200 Subject: [PATCH] fix(docs): update example to use correct frontmatter path (#14435) --- docs/docs/schema-customization.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/schema-customization.md b/docs/docs/schema-customization.md index 900312c9589c5..86f1676651c4c 100644 --- a/docs/docs/schema-customization.md +++ b/docs/docs/schema-customization.md @@ -377,7 +377,7 @@ type Frontmatter { reviewers: [AuthorJson] @link(by: "email") # foreign-key relation by custom field } type AuthorJson implements Node { - posts: [MarkdownRemark] @link(by: "frontmatter.author", from: "email") # easy back-ref + posts: [MarkdownRemark] @link(by: "frontmatter.author.email", from: "email") # easy back-ref } ```