Are the custom fetcher docs wrong? #9959
jillesme
started this conversation in
Docs Discussions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am raising this question regarding: https://the-guild.dev/graphql/codegen/plugins/typescript/typescript-react-query#usage-example-isreacthook-false
There is the following example under "Usage example (isReactHook: false)":
This method throws if there are any errors. This means we lose all the data that was successfully received. (e.g. https://www.apollographql.com/docs/react/data/error-handling/#graphql-error-policies).
Should it instead not be like the following, to still be able to use partial data?
Beta Was this translation helpful? Give feedback.
All reactions