Open lorensr opened 3 years ago
https://www.apollographql.com/docs/react/data/mutations/#usemutation-api https://www.apollographql.com/docs/react/api/react/hooks/#params-2
Also, the first link doesn't list:
update
It looks like MutationFunctionOptions seems to be missing errorPolicy as well, although this option seems to work in practice:
MutationFunctionOptions
errorPolicy
https://github.com/apollographql/apollo-client/blob/5b76276e9dfa1d19ee91d043ceb76b5a1d0dbe87/src/react/types/types.ts#L168-L179
https://www.apollographql.com/docs/react/data/mutations/#usemutation-api https://www.apollographql.com/docs/react/api/react/hooks/#params-2
Also, the first link doesn't list:
update
option