Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enrich the onMutate description for context #8710

Open
wants to merge 1 commit into
base: v4
Choose a base branch
from

Conversation

Thiamath
Copy link

I think is better to be explicit on this to improve the readability of the docs.

The context is passed to the three callbacks, onSuccess included.

Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 2a02324:

Sandbox Source
@tanstack/query-example-react-basic-typescript Configuration
@tanstack/query-example-solid-basic-typescript Configuration
@tanstack/query-example-svelte-basic Configuration
@tanstack/query-example-vue-basic Configuration

Copy link

nx-cloud bot commented Feb 27, 2025

View your CI Pipeline Execution ↗ for commit 2a02324.

Command Status Duration Result
nx affected --targets=test:eslint,test:lib,test... ✅ Succeeded 1m 6s View ↗
nx affected --targets=test:lib --base=92e5672f5... ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2025-02-27 13:22:42 UTC

Copy link

codecov bot commented Feb 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.19%. Comparing base (84e8ae5) to head (2a02324).
Report is 19 commits behind head on v4.

Additional details and impacted files
@@            Coverage Diff             @@
##               v4    #8710      +/-   ##
==========================================
+ Coverage   95.16%   96.19%   +1.03%     
==========================================
  Files          13       26      +13     
  Lines         496      946     +450     
  Branches      179      279     +100     
==========================================
+ Hits          472      910     +438     
- Misses         23       30       +7     
- Partials        1        6       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants