Commit 4d8c27b
refactor(query-core): improve type safety and performance in
- Change return type to exclude mutationKey using OmitKeyof
- Replace spread operator with Object.assign for better performance
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>getMutationDefaults (#8669)1 parent c0f27f6 commit 4d8c27b
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
605 | 605 | | |
606 | 606 | | |
607 | 607 | | |
608 | | - | |
| 608 | + | |
609 | 609 | | |
610 | 610 | | |
611 | | - | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
612 | 615 | | |
613 | 616 | | |
614 | 617 | | |
615 | | - | |
| 618 | + | |
616 | 619 | | |
617 | 620 | | |
618 | 621 | | |
| |||
0 commit comments