Skip to content

Commit

Permalink
docs(schema-customization): Add missing comma (#20463)
Browse files Browse the repository at this point in the history
  • Loading branch information
CanRau authored and sidharthachatterjee committed Jan 8, 2020
1 parent 8a966db commit f158bc8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/docs/schema-customization.md
Original file line number Diff line number Diff line change
Expand Up @@ -421,18 +421,18 @@ exports.createSchemaCustomization = ({ actions, schema }) => {
"type MarkdownRemark implements Node { frontmatter: Frontmatter }",
`type Frontmatter {
publishedAt: Date @dateformat(formatString: "DD-MM-YYYY")
}`
}`,
schema.buildObjectType({
name: 'AuthorJson',
name: "AuthorJson",
fields: {
joinedAt: {
type: 'Date',
type: "Date",
extensions: {
dateformat: {}
}
}
}
})
dateformat: {},
},
},
},
}),
]
createTypes(typeDefs)
}
Expand Down

0 comments on commit f158bc8

Please sign in to comment.