mirror of
https://github.com/zhigang1992/apollo.git
synced 2026-05-19 02:21:19 +08:00
Typo fix in resolvers.md (#545)
Typo fix: `Mutation` instead of `Mission` in resolvers.md
This commit is contained in:
committed by
Hugh Willson
parent
7dceb0f599
commit
8ee0fdbabe
@@ -263,7 +263,7 @@ _src/schema.js_
|
||||
|
||||
The first argument passed into our resolver is the parent, which refers to the mission object. The second argument is the size we pass to our `missionPatch` field, which we use to determine which property on the mission object we want our field to resolve to.
|
||||
|
||||
Now that we know how to add resolvers on types other than `Query` and `Mutation`, let's add some more resolvers to the `Launch` and `User` types. Copy this code into your resolver map:
|
||||
Now that we know how to add resolvers on types other than `Query` and `Mission`, let's add some more resolvers to the `Launch` and `User` types. Copy this code into your resolver map:
|
||||
|
||||
_src/resolvers.js_
|
||||
|
||||
|
||||
Reference in New Issue
Block a user