Skip to content

Commit

Permalink
chore(docs): fix typo in method name (#15614)
Browse files Browse the repository at this point in the history
`schema.createObjectType` does not exist in the code. This should be `schema.buildObjectType`
  • Loading branch information
talves authored and m-allanson committed Jul 12, 2019
1 parent a823463 commit 3c5a45c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ exports.sourceNodes = function sourceNodes({ actions }) {
You can now apply configuration to type builder types through an exposed `extensions` property.

```js
schema.createObjectType({
schema.buildObjectType({
name: MyType,
extensions: {
infer: true,
Expand Down

0 comments on commit 3c5a45c

Please sign in to comment.