-
-
Notifications
You must be signed in to change notification settings - Fork 272
feat(queryKey): add optional tags parameter to query key functions #2391
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
Conversation
|
|
🦋 Changeset detectedLatest commit: ac3456f The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #2391 +/- ##
==========================================
- Coverage 22.50% 22.46% -0.04%
==========================================
Files 324 324
Lines 31904 31956 +52
Branches 1234 1234
==========================================
Hits 7179 7179
- Misses 24716 24768 +52
Partials 9 9
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
commit: |
|
Reasonable, we should add it
Not really, we may make it disabled by default
the |
|
@ahmedrowaihi great!
|
|
@mrlubos anymore suggestions ? |
mrlubos
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The pull request looks perfect to me! I'm only submitting one change request so we get a cleaner diff if not using tags. Now that tags are disabled by default, you may also consider adding a test showing what it looks like when they're enabled. This is totally up to you though, I might not have configured tests to easily add such change
packages/openapi-ts/src/plugins/@tanstack/query-core/queryKey.ts
Outdated
Show resolved
Hide resolved
|
@ahmedrowaihi please rerun snapshots again so CI passes |
Co-authored-by: Lubos <lmenus@lmen.us>
mrlubos
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, thank you!
welcome ! yet I have another PR #2399 :'D |
I think we fixed tanstack frontend invalidation forever by this PR
use case:
thank you @mrlubos for such a wonderful lib