query icon indicating copy to clipboard operation
query copied to clipboard

refactor(types): make queryKey required on ObserverOptions

Open TkDodo opened this issue 1 year ago • 4 comments

we cannot create an observer without a key, because an observer, per definition, watches a certain query by its key

TkDodo avatar Feb 12 '24 16:02 TkDodo

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
query ⬜️ Ignored (Inspect) Visit Preview Feb 17, 2024 6:26pm

vercel[bot] avatar Feb 12 '24 16:02 vercel[bot]

☁️ Nx Cloud Report

CI is running/has finished running commands for commit fdf7e755e8a226a889bc8dd35a56cd2fc173f00c. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

nx-cloud[bot] avatar Feb 12 '24 16:02 nx-cloud[bot]

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 fdf7e755e8a226a889bc8dd35a56cd2fc173f00c:

Sandbox Source
@tanstack/query-example-angular-basic Configuration
@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

codesandbox-ci[bot] avatar Feb 12 '24 20:02 codesandbox-ci[bot]

Codecov Report

Merging #6879 (fdf7e75) into main (841b4f3) will decrease coverage by 0.04%. Report is 1 commits behind head on main. The diff coverage is 100.00%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #6879      +/-   ##
==========================================
- Coverage   41.82%   41.78%   -0.04%     
==========================================
  Files         178      178              
  Lines        7017     7014       -3     
  Branches     1418     1416       -2     
==========================================
- Hits         2935     2931       -4     
- Misses       3720     3721       +1     
  Partials      362      362              
Components Coverage Δ
@tanstack/angular-query-devtools-experimental ∅ <ø> (∅)
@tanstack/angular-query-experimental 81.75% <ø> (ø)
@tanstack/eslint-plugin-query 85.11% <ø> (ø)
@tanstack/query-async-storage-persister 48.43% <ø> (ø)
@tanstack/query-broadcast-client-experimental ∅ <ø> (∅)
@tanstack/query-codemods 0.00% <ø> (ø)
@tanstack/query-core 93.62% <100.00%> (-0.08%) :arrow_down:
@tanstack/query-devtools 4.46% <ø> (ø)
@tanstack/query-persist-client-core 57.73% <ø> (ø)
@tanstack/query-sync-storage-persister 82.50% <ø> (ø)
@tanstack/react-query 93.07% <ø> (ø)
@tanstack/react-query-devtools 0.00% <ø> (ø)
@tanstack/react-query-next-experimental ∅ <ø> (∅)
@tanstack/react-query-persist-client 100.00% <ø> (ø)
@tanstack/solid-query 84.84% <ø> (ø)
@tanstack/solid-query-devtools ∅ <ø> (∅)
@tanstack/solid-query-persist-client 100.00% <ø> (ø)
@tanstack/svelte-query 62.68% <ø> (ø)
@tanstack/svelte-query-devtools ∅ <ø> (∅)
@tanstack/svelte-query-persist-client 100.00% <ø> (ø)
@tanstack/vue-query 70.81% <100.00%> (ø)
@tanstack/vue-query-devtools ∅ <ø> (∅)

codecov-commenter avatar Feb 12 '24 21:02 codecov-commenter