You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.
The types for useMutation indicate that it does support
errorPolicy
.useMutation is typed with
OperationVariables
as the second parameter: https://github.com/apollographql/react-apollo/blob/master/packages/hooks/src/useMutation.ts#L8OperationVariables
has anerrorPolicy
type https://github.com/apollographql/react-apollo/blob/master/packages/common/src/types/types.ts#L34Thus, the typings for
useMutation
indicate that it supportserrorPolicy
, when in fact the setting will be silently ignored.@apollo/react-hooks
3.0.1The text was updated successfully, but these errors were encountered: