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

fix(query-core): respect initialData for queryClient.ensureQueryData #8425

Merged
merged 2 commits into from
Dec 10, 2024

refactor: simplify condition

28b6fcc
Select commit
Loading
Failed to load commit list.
Merged

fix(query-core): respect initialData for queryClient.ensureQueryData #8425

refactor: simplify condition
28b6fcc
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Dec 10, 2024 in 0s

63.03% (+16.81%) compared to 27ce0b6

View this Pull Request on Codecov

63.03% (+16.81%) compared to 27ce0b6

Details

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.03%. Comparing base (27ce0b6) to head (28b6fcc).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##             main    #8425       +/-   ##
===========================================
+ Coverage   46.21%   63.03%   +16.81%     
===========================================
  Files         198      134       -64     
  Lines        7510     4804     -2706     
  Branches     1712     1344      -368     
===========================================
- Hits         3471     3028      -443     
+ Misses       3664     1536     -2128     
+ Partials      375      240      -135     
Components Coverage Δ
@tanstack/angular-query-devtools-experimental ∅ <ø> (∅)
@tanstack/angular-query-experimental 88.65% <ø> (ø)
@tanstack/eslint-plugin-query ∅ <ø> (∅)
@tanstack/query-async-storage-persister 43.85% <ø> (ø)
@tanstack/query-broadcast-client-experimental ∅ <ø> (∅)
@tanstack/query-codemods ∅ <ø> (∅)
@tanstack/query-core 94.56% <100.00%> (-0.01%) ⬇️
@tanstack/query-devtools 4.78% <ø> (ø)
@tanstack/query-persist-client-core 57.73% <ø> (ø)
@tanstack/query-sync-storage-persister 84.61% <ø> (ø)
@tanstack/react-query 95.54% <ø> (ø)
@tanstack/react-query-devtools 10.00% <ø> (ø)
@tanstack/react-query-next-experimental ∅ <ø> (∅)
@tanstack/react-query-persist-client 100.00% <ø> (ø)
@tanstack/solid-query 78.20% <ø> (ø)
@tanstack/solid-query-devtools ∅ <ø> (∅)
@tanstack/solid-query-persist-client 100.00% <ø> (ø)
@tanstack/svelte-query 87.33% <ø> (ø)
@tanstack/svelte-query-devtools ∅ <ø> (∅)
@tanstack/svelte-query-persist-client 100.00% <ø> (ø)
@tanstack/vue-query 71.45% <ø> (ø)
@tanstack/vue-query-devtools ∅ <ø> (∅)