Typo fix in resolvers.md (#545)

Typo fix: `Mutation` instead of `Mission` in resolvers.md
This commit is contained in:
George Tsopanoglou
2019-08-11 14:55:37 +01:00
committed by Hugh Willson
parent 7dceb0f599
commit 8ee0fdbabe

View File

@@ -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_