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.
Intended outcome:
Trying to define
errorPolicy: all
in ApolloClientdefaultOptions
.Actual outcome:
errorPolicy: all
causeserror
in<Mutation>{(func, { error }) => <SomeComponent />}</Mutation>
to always beundefined
.Screen 1
Screen 2
Commenting it makes errors appear again.
<Mutation errorPolicy="all">{(func, { error }) => <SomeComponent />}</Mutation>
Specifying it at Mutation level, and not glabally, also works.
How to reproduce the issue:
when declaring the client, and then performing a mutation with an error.
Version
Thanks in advance!
The text was updated successfully, but these errors were encountered: