Skip to content

Commit

Permalink
fix: Ensure MarkdownNode type always created
Browse files Browse the repository at this point in the history
  • Loading branch information
ynnoj committed Aug 20, 2020
1 parent a6f9728 commit 5ce2220
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gatsby-source-graphcms/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,9 @@ exports.createSchemaCustomization = (

if (buildMarkdownNodes)
createTypes(`
type GraphCMS_MarkdownNode implements Node {
id: ID!
}
type GraphCMS_RichText {
markdownNode: GraphCMS_MarkdownNode @link
}
Expand Down

0 comments on commit 5ce2220

Please sign in to comment.