Skip to content

Commit 1720988

Browse files
authored
feat(gatsby-transformer-documentationjs): move createTypes to createSchemaCustomization (#33149)
1 parent 3d05986 commit 1720988

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/gatsby-transformer-documentationjs/src/gatsby-node.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function prepareDescriptionNode(node, markdownStr, name, helpers) {
4242
return descriptionNode
4343
}
4444

45-
exports.sourceNodes = ({ actions }) => {
45+
exports.createSchemaCustomization = ({ actions }) => {
4646
const { createTypes } = actions
4747
const typeDefs = /* GraphQL */ `
4848
type DocumentationJs implements Node

0 commit comments

Comments
 (0)