Skip to content

Commit b1215ce

Browse files
committed
Fix typo.
1 parent 6c4c35f commit b1215ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/pages/learn/execution.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ This is an example of _scalar coercion_. The type system knows what to expect an
129129
We've already seen some of what happens when a field returns a list of things with the `appearsIn` field above. It returned a [List type](/learn/schema/#lists) containing Enum type values, and since that's what the type system expected, each item in the list was coerced to the appropriate value. What happens when the `starships` field is resolved?
130130

131131
```js
132-
functio Human_starships (obj, args, context, info) {
132+
function Human_starships (obj, args, context, info) {
133133
return obj.starshipIDs.map(
134134
id => context.db.loadStarshipByID(id).then(
135135
shipData => new Starship(shipData)

0 commit comments

Comments
 (0)