1002 B
1002 B
ApolloMutation component
Props
mutation: GraphQL query (transformed bygraphql-tag)variables: Object of GraphQL variablesoptimisticResponse: See optimistic UIupdate: See updating cache after mutationrefetchQueries: See refetching queries after mutationtag: String HTML tag name (default:div)
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 flighterror: Eventual error for the last mutation callgqlError: first GraphQL error if any
Events
done(resultObject)error(errorObject)