Skip to content

Commit dade5bd

Browse files
committed
update description
1 parent e2021b0 commit dade5bd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/gatsby/src/schema/schema.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1072,7 +1072,9 @@ const createChildField = typeName => {
10721072
return {
10731073
[fieldNames.convenienceChild(typeName)]: {
10741074
type: () => typeName,
1075-
description: `Returns the first child node of type ${typeName}`,
1075+
description:
1076+
`Returns the first child node of type ${typeName} ` +
1077+
`or null if there are no children of given type on this node`,
10761078
resolve(source, args, context) {
10771079
const { path } = context
10781080
const result = context.nodeModel.getNodesByIds(

0 commit comments

Comments
 (0)