feat(solid-query): add 'mutationOptions'#10138
feat(solid-query): add 'mutationOptions'#10138sukvvon wants to merge 2 commits intoTanStack:mainfrom
Conversation
🦋 Changeset detectedLatest commit: 879b859 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
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 |
|
No actionable comments were generated in the recent review. 🎉 📝 WalkthroughWalkthroughIntroduces a new Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Comment |
|
View your CI Pipeline Execution ↗ for commit 879b859
☁️ Nx Cloud last updated this comment at |
🎯 Changes
Add
mutationOptionsidentity function to@tanstack/solid-query, matching the existingreact-queryandpreact-queryimplementations.packages/solid-query/src/mutationOptions.ts— identity function with 2 overloads (with/withoutmutationKey)packages/solid-query/src/index.ts— exportmutationOptionspackages/solid-query/src/__tests__/mutationOptions.test.tsx— 14 runtime testspackages/solid-query/src/__tests__/mutationOptions.test-d.tsx— 13 type testsdocs/framework/solid/reference/mutationOptions.md— docs (ref to react docs)✅ Checklist
pnpm run test:pr.🚀 Release Impact
Summary by CodeRabbit
New Features
mutationOptionsutility providing enhanced type safety for mutation configurations in Solid Query, with proper handling of mutation keys and callback options.Documentation
mutationOptionsfeature.Tests