Files
apollo/docs/api/apollo-mutation.md
T

1.1 KiB

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)