apollo-client icon indicating copy to clipboard operation
apollo-client copied to clipboard

Documentataion: mutaitonHookOptions.ignoreResults requires additional clarification

Open ksdc-grantw opened this issue 1 year ago • 1 comments

The documentation for the UseMutation Option ignoreResults (see here) only states that the "data property is not updated with the mutation's result".

It does not indicate that the loading state of the requests is also not updated. Please can you update the docs to include this clarification.

Thanks, Grant

ksdc-grantw avatar Jul 11 '24 08:07 ksdc-grantw

That's a good callout - in fact, ignoreResults will cause the hook to ignore all information about the running mutation. Do you want to open a PR against our documentation? It would be greatly appreciated.

phryneas avatar Jul 11 '24 12:07 phryneas

Do you have any feedback for the maintainers? Please tell us by taking a one-minute survey. Your responses will help us understand Apollo Client usage and allow us to serve you better.

github-actions[bot] avatar Nov 18 '24 09:11 github-actions[bot]

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. For general questions, we recommend using StackOverflow or our discord server.

github-actions[bot] avatar Dec 19 '24 00:12 github-actions[bot]