Repository navigation
test(*/useMutationState): rename the built 'mutation' to 'existingMutation' to avoid shadowing the 'select' parameter - #12294
Conversation
…ation' to avoid shadowing the 'select' parameter
|
|
View your CI Pipeline Execution ↗ for commit b551851
☁️ 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 the
useMutationStatetests of lit-query, react-query, and preact-query, the mutation created withcache.build(...)was namedmutation, which is shadowed by theselectcallback'smutationparameter (no-shadow).existingMutation, keepingmutationfor theselectparameter.✅ Checklist
pnpm run test:pr, or these tests do not apply to this pull request.🚀 Release Impact
Summary by CodeRabbit