Repository navigation
refactor(query-persist-client-core/createPersister): rename the 'filters' option to 'persistFilters' internally to avoid shadowing - #12290
Conversation
…ers' option to 'persistFilters' internally to avoid shadowing
|
|
View your CI Pipeline Execution ↗ for commit 8ae2de5
☁️ Nx Cloud last updated this comment at |
🚀 Changeset Version PreviewNo changeset entries found. Merging this PR will not cause a version bump for any packages. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
size-limit report 📦
|
🎯 Changes
In
experimental_createQueryPersister, destructure thefiltersoption aspersistFiltersand use it inpersisterFn.The
filtersparameters ofrestoreQueriesandremoveQuerieswere shadowing thefiltersoption (no-shadow). The option name, the public types, and therestoreQueries/removeQueriessignatures stay the same.✅ Checklist
pnpm run test:pr, or these tests do not apply to this pull request.🚀 Release Impact
Summary by CodeRabbit