0
Fork 0
mirror of https://github.com/TanStack/query.git synced 2026-11-16 22:50:20 +00:00
query/docs/framework/react/reference/mutationOptions.md

15 lines
242 B

feat(react-query): add mutationOptions (#8960) * feat(react-query): add mutationOptions * test(react-query): add DataTag test case * fix(react-query): remove unnecessary types from mutation * fix(react-query): remove unncessary type overload * chore(react-query): add mutationOptions to barrel file * fix(react-query): fix test eslint issue * docs(react-query): add more examples * test(react-query): add more test cases * chore(react-query): Change mutaitonKey to required * fix(react-query): fix test code type error * test(react-query): add testcase when used with other mutation util * fix(react-query): fix error test code and avoid use deprecateed method * fix(react-query): fix error test code and avoid use deprecateed method * fix(react-query): fix import detect error * fix(react-query): fix import detect error * fix(react-query): add function overload * test(react-query): fix mutation options test code * Update docs/framework/react/typescript.md * Update docs/framework/react/reference/mutationOptions.md * Update docs/framework/react/typescript.md * fix: update mutationOptions type definition to allow optional mutationKey with restricting filter when mutationKey wasn't passed * ci: apply automated fixes * chore: add Nick-Lucas as co-author Co-authored-by: Nick Lucas <8896153+Nick-Lucas@users.noreply.github.com> * test(react-query): fix test code and add used with useMutation without mutationKey * Update packages/react-query/src/__tests__/mutationOptions.test-d.tsx * docs: add mutationOptions to sidebar config --------- Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc> Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Nick Lucas <8896153+Nick-Lucas@users.noreply.github.com>
2025-07-09 23:59:41 +09:00