Update resolvers.md (#494)

## Write resolvers on types

the type in the schema should be Mission not Mutation


_src/schema.js_
```js
  type Mission{
    # ... with rest of schema
    missionPatch(mission: String, size: PatchSize): String
  }
```
This commit is contained in:
Leakey Maina
2019-07-16 18:46:57 +03:00
committed by Jesse Rosenberger
parent 3e48c0b740
commit 6e722b255f

View File

@@ -255,7 +255,7 @@ Mission: {
_src/schema.js_
```js
type Mutation {
type Mission {
# ... with rest of schema
missionPatch(mission: String, size: PatchSize): String
}