Skip to content

Commit

Permalink
docs: fix broken apollo doc link for mutate (#325)
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner authored and Akryum committed Jul 7, 2018
1 parent d3824e5 commit b894196
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guide/apollo/mutations.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Mutations are queries that change your data state on your apollo server.

Use `this.$apollo.mutate()` to send a GraphQL mutation.

For more info, visit the [apollo doc](https://www.apollographql.com/docs/react/reference/index.html#ApolloClient\.mutate). There is a mutation-focused [example app](https://github.com/Akryum/vue-apollo-todos) you can look at.
For more info, visit the [apollo doc](https://www.apollographql.com/docs/react/api/apollo-client.html#ApolloClient.mutate). There is a mutation-focused [example app](https://github.com/Akryum/vue-apollo-todos) you can look at.

::: warning
You shouldn't send the `__typename` fields in the variables, so it is not recommended to send an Apollo result object directly.
Expand Down Expand Up @@ -120,4 +120,4 @@ export const resolvers = {
},
},
}
```
```

0 comments on commit b894196

Please sign in to comment.