@tanstack/query mutationOptions #1883
Closed
vitorcamachoo
started this conversation in
Ideas
Replies: 3 comments
-
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@vitorcamachoo I opened a pr that will add |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@vitorcamachoo This has been added as part of Kubb v4.1.1 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
One thing that sets this library apart is that the @tanstack/query plugin enables you to export
queryOptions, making project scaling easier. Now that @tanstack/query also supports exportingmutationOptionsfor mutations, it would be a good idea to update the generator to export these functions as well. This is especially useful when dealing with offline mutations.https://tanstack.com/query/latest/docs/framework/react/reference/mutationOptions
Beta Was this translation helpful? Give feedback.
All reactions