Skip to content

Commit

Permalink
fix(docs): update example to use correct frontmatter path (gatsbyjs#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprobst authored and DSchau committed May 30, 2019
1 parent ed89125 commit 7bebdcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/schema-customization.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
```

Expand Down

0 comments on commit 7bebdcf

Please sign in to comment.