Files
apollo/docs/api/apollo-mutation.md
T
Guillaume Chau 56f317af07 docs: big update
2018-06-18 18:11:46 +02:00

1002 B

ApolloMutation component

Props

Scoped slot props

  • mutate(options = undefined): Function to call the mutation. You can override the mutation options (for example: mutate({ variables: { foo: 'bar } }))
  • loading: Boolean indicating that the request is in flight
  • error: Eventual error for the last mutation call
  • gqlError: first GraphQL error if any

Events

  • done(resultObject)
  • error(errorObject)